projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1681bd7
)
mesa: add cast to silence MSVC warning
author
Brian Paul
<brianp@vmware.com>
Mon, 8 Jul 2013 15:55:38 +0000
(09:55 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 12 Jul 2013 14:19:49 +0000
(08:19 -0600)
src/mesa/main/texparam.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texparam.c
b/src/mesa/main/texparam.c
index cf9a3014cde3fce5e69c9f7d2565afc1e4c4d1e3..141cbe3ab33d75271ed86ca39c34dd6450798860 100644
(file)
--- a/
src/mesa/main/texparam.c
+++ b/
src/mesa/main/texparam.c
@@
-1547,7
+1547,7
@@
_mesa_GetTexParameterfv( GLenum target, GLenum pname, GLfloat *params )
case GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES:
if (!_mesa_is_gles(ctx) || !ctx->Extensions.OES_EGL_image_external)
goto invalid_pname;
- *params = obj->RequiredTextureImageUnits;
+ *params =
(GLfloat)
obj->RequiredTextureImageUnits;
break;
case GL_TEXTURE_SRGB_DECODE_EXT: