summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_cache.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-04-10 21:09:41 -0600
committerBrian Paul <[email protected]>2017-04-12 21:13:23 -0600
commitc36d224921da0846b808a317d5b71a78b31bfd3d (patch)
tree772c46fbddbc52d3d9b7a3b58dda0fb23c3b9048 /src/mesa/program/prog_cache.c
parentfbcd709a34ccccf16796b926a3b25d6044fb614b (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/prog_cache.c')
0 files changed, 0 insertions, 0 deletions