mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
mesa: add cast to silence MSVC warning
This commit is contained in:
parent
1681bd7f2b
commit
8ba5c79d2c
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue