projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mesa: convert macros to inline functions
[mesa.git]
/
src
/
mesa
/
main
/
texobj.c
diff --git
a/src/mesa/main/texobj.c
b/src/mesa/main/texobj.c
index f61e0237add44fd21542a8082a7d29a19cc8f8eb..5be881ec45e55c3db7407006932768526dd38536 100644
(file)
--- a/
src/mesa/main/texobj.c
+++ b/
src/mesa/main/texobj.c
@@
-141,6
+141,7
@@
_mesa_initialize_texture_object( struct gl_texture_object *obj,
obj->Swizzle[2] = GL_BLUE;
obj->Swizzle[3] = GL_ALPHA;
obj->_Swizzle = SWIZZLE_NOOP;
+ obj->sRGBDecode = GL_DECODE_EXT;
}