diff options
author | Brian Paul <[email protected]> | 2017-04-10 21:09:41 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-04-12 21:13:23 -0600 |
commit | c36d224921da0846b808a317d5b71a78b31bfd3d (patch) | |
tree | 772c46fbddbc52d3d9b7a3b58dda0fb23c3b9048 /src/mesa/program | |
parent | fbcd709a34ccccf16796b926a3b25d6044fb614b (diff) |
st/mesa: minor optimization in st_DrawBuffers()
We only do on-demand renderbuffer allocation for window-system FBOs,
not user-created FBOs. So put the loop inside a conditional.
Plus, add some comments. No piglit regressions.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/program')
0 files changed, 0 insertions, 0 deletions