summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-08-08 10:39:56 -0600
committerBrian Paul <[email protected]>2008-08-08 10:39:56 -0600
commit27858226dc4eb3e64d980ba8530c2fd2e39218cf (patch)
tree33dd1f65c978f17be1b1dd030760d873691295c5 /src/mesa/swrast/s_context.c
parent48cf46a29d8bccb0d83ae7e53e4ded44492cdb5f (diff)
gallium: fix additional glCopyTex[Sub]Image issues
Use the TexFormat->StoreImage() routine for fallbacks. This handles the case of copying RGBA framebuffer data into an RGBA texture when the base format is GL_RGB (or GL_LUMINANCE, etc). In that case, we need to set the texture's alpha=1 and override the framebuffer's alpha.
Diffstat (limited to 'src/mesa/swrast/s_context.c')
0 files changed, 0 insertions, 0 deletions