diff options
author | marha <marha@users.sourceforge.net> | 2011-01-13 22:07:24 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-01-13 22:07:24 +0000 |
commit | dc54712d6b67dac7fc745cf3b9019b2c4c81f193 (patch) | |
tree | 002b3fd0e0233fe3e6c57d603a8471794f5ba922 /mesalib/src/mesa/main/texrender.c | |
parent | ca14143b18b939ee4506936e77478f8c593802b5 (diff) | |
parent | a0a46bd55d7cbbf70757a29c067e21b70ac4e2df (diff) | |
download | vcxsrv-dc54712d6b67dac7fc745cf3b9019b2c4c81f193.tar.gz vcxsrv-dc54712d6b67dac7fc745cf3b9019b2c4c81f193.tar.bz2 vcxsrv-dc54712d6b67dac7fc745cf3b9019b2c4c81f193.zip |
svn merge ^/branches/released .
Diffstat (limited to 'mesalib/src/mesa/main/texrender.c')
-rw-r--r-- | mesalib/src/mesa/main/texrender.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/texrender.c b/mesalib/src/mesa/main/texrender.c index 6d6e16f4a..1546f1962 100644 --- a/mesalib/src/mesa/main/texrender.c +++ b/mesalib/src/mesa/main/texrender.c @@ -595,6 +595,11 @@ update_wrapper(struct gl_context *ctx, const struct gl_renderbuffer_attachment * trb->Base.DataType = CHAN_TYPE;
trb->Base._BaseFormat = GL_RGBA;
break;
+ case MESA_FORMAT_SARGB8:
+ trb->Fetchf = _mesa_get_texel_fetch_func(MESA_FORMAT_ARGB8888, _mesa_get_texture_dimensions(att->Texture->Target));
+ trb->Base.DataType = CHAN_TYPE;
+ trb->Base._BaseFormat = GL_RGBA;
+ break;
default:
trb->Base.DataType = CHAN_TYPE;
trb->Base._BaseFormat = GL_RGBA;
|