summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-02-21 16:54:23 -0700
committerBrian Paul <[email protected]>2011-02-21 16:58:42 -0700
commite2d108ec828bdbebdc7e8f9df30c86f0b521aa8d (patch)
tree4fb4356845c47e48a681ecbfaab58a412ccfd683 /src/mesa/drivers
parentc966c6980c2a4a1e50b238f7607a9ce111f6c0b4 (diff)
st/mesa: need to translate clear color according to surface's base format
When clearing a GL_LUMINANCE_ALPHA buffer, for example, we need to convert the clear color (R,G,B,A) to (R,R,R,A). We were doing this for texture border colors but not renderbuffers. Move the translation function to st_format.c and share it. This fixes the piglit fbo-clear-formats test. NOTE: This is a candidate for the 7.9 and 7.10 branches.
Diffstat (limited to 'src/mesa/drivers')
0 files changed, 0 insertions, 0 deletions