diff options
author | Brian Paul <[email protected]> | 2013-07-08 09:55:38 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-07-12 08:19:49 -0600 |
commit | 8ba5c79d2c075978947350507e5deb5477eb23ad (patch) | |
tree | 3a418dd33fa396d77fb1d6ff20f7ddc7067badb2 | |
parent | 1681bd7f2b392d0b379cb0ff43a4fac33da74762 (diff) |
mesa: add cast to silence MSVC warning
-rw-r--r-- | src/mesa/main/texparam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texparam.c b/src/mesa/main/texparam.c index cf9a3014cde..141cbe3ab33 100644 --- 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: |