summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_cb_drawpixels.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-04-25 15:23:21 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-04-25 15:24:07 -0600
commit332b77b852905224741084c5a4f5d2f4625dd119 (patch)
treed0a9c8b79656068e85c2b3666eb1ceb2756e08f4 /src/mesa/state_tracker/st_cb_drawpixels.c
parent4c50969334844bc9aa622176c3ebcbc733394f78 (diff)
gallium: use simple color pass-through fragment shader if textures don't exist
If we run out of texture memory we may not have the texture needed by the fragment shader. If this happens, plug in a color passthrough shader. So instead of crashing, we just don't see the texture. GL_OUT_OF_MEMORY is raised, of course.
Diffstat (limited to 'src/mesa/state_tracker/st_cb_drawpixels.c')
0 files changed, 0 insertions, 0 deletions