summaryrefslogtreecommitdiff
path: root/src/mesa/main/get.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2011-01-12 17:32:00 -0700
committerBrian Paul <brianp@vmware.com>2011-01-12 17:55:45 -0700
commit2fa6012f6a0b02de6093cbccba3bf4432f072e57 (patch)
treef3cc02bb281cef2d1e56fe73ab8920e39470635c /src/mesa/main/get.c
parent30616fdacfd3e2d8d3df64e4aa6b4cac405f3cf0 (diff)
mesa: fix num_draw_buffers==0 in fixed-function fragment program generation
This fixes a problem when glDrawBuffers(GL_NONE). The fragment program was writing to color output[0] but OutputsWritten was 0. That led to a failed assertion in the Mesa->TGSI translation code. NOTE: This is a candidate for the 7.9 and 7.10 branches.
Diffstat (limited to 'src/mesa/main/get.c')
0 files changed, 0 insertions, 0 deletions