diff options
author | marha <marha@users.sourceforge.net> | 2011-08-01 09:05:15 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-08-01 09:05:15 +0200 |
commit | f87ad0cdc41af88f134475ab50b0d604004d9cdc (patch) | |
tree | 72e8cd139cf22d66d77c6a52f72b3d5c11c330f3 /mesalib/src/mesa/main/texparam.c | |
parent | 28257038c4f13ac26127d536c14c922aa036efed (diff) | |
download | vcxsrv-f87ad0cdc41af88f134475ab50b0d604004d9cdc.tar.gz vcxsrv-f87ad0cdc41af88f134475ab50b0d604004d9cdc.tar.bz2 vcxsrv-f87ad0cdc41af88f134475ab50b0d604004d9cdc.zip |
mesa xserver pixman xkeyboard-config git update 1 aug 2011
Diffstat (limited to 'mesalib/src/mesa/main/texparam.c')
-rw-r--r-- | mesalib/src/mesa/main/texparam.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/mesalib/src/mesa/main/texparam.c b/mesalib/src/mesa/main/texparam.c index 3f771f08b..134f15346 100644 --- a/mesalib/src/mesa/main/texparam.c +++ b/mesalib/src/mesa/main/texparam.c @@ -1266,12 +1266,13 @@ _mesa_GetTexParameterfv( GLenum target, GLenum pname, GLfloat *params ) break; case GL_TEXTURE_CUBE_MAP_SEAMLESS: - if (ctx->Extensions.AMD_seamless_cubemap_per_texture) { - *params = (GLfloat) obj->Sampler.CubeMapSeamless; - } - else { - error = GL_TRUE; - } + if (ctx->Extensions.AMD_seamless_cubemap_per_texture) { + *params = (GLfloat) obj->Sampler.CubeMapSeamless; + } + else { + error = GL_TRUE; + } + break; default: error = GL_TRUE; @@ -1441,6 +1442,7 @@ _mesa_GetTexParameteriv( GLenum target, GLenum pname, GLint *params ) else { error = GL_TRUE; } + break; default: ; /* silence warnings */ |