OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1d053b
)
Fixed bogus ENUM_TO_BOOLEAN in
author
Felix Kuehling
<fxkuehl@gmx.de>
Sat, 30 Apr 2005 02:09:23 +0000
(
02:09
+0000)
committer
Felix Kuehling
<fxkuehl@gmx.de>
Sat, 30 Apr 2005 02:09:23 +0000
(
02:09
+0000)
_mesa_GetIntegerv(GL_COMPRESSED_TEXTURE_FORMATS_ARB). Must be ENUM_TO_INT.
mesa/progs/tests/texenv now lists supported compressed texture formats
correctly.
src/mesa/main/get.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/get.c
b/src/mesa/main/get.c
index
4e346fb
..
78f776c
100644
(file)
--- a/
src/mesa/main/get.c
+++ b/
src/mesa/main/get.c
@@
-4769,7
+4769,7
@@
_mesa_GetIntegerv( GLenum pname, GLint *params )
GLint formats[100];
GLuint i, n = _mesa_get_compressed_formats(ctx, formats);
for (i = 0; i < n; i++)
- params[i] = ENUM_TO_
BOOLEAN
(formats[i]);
+ params[i] = ENUM_TO_
INT
(formats[i]);
}
break;
case GL_ARRAY_ELEMENT_LOCK_FIRST_EXT: