diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-08 10:39:56 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-08 10:39:56 -0600 |
commit | 27858226dc4eb3e64d980ba8530c2fd2e39218cf (patch) | |
tree | 33dd1f65c978f17be1b1dd030760d873691295c5 /src/mesa/main/texstore.c | |
parent | 48cf46a29d8bccb0d83ae7e53e4ded44492cdb5f (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/main/texstore.c')
0 files changed, 0 insertions, 0 deletions