diff options
author | Dylan Noblesmith <[email protected]> | 2011-12-22 21:05:38 +0000 |
---|---|---|
committer | Dylan Noblesmith <[email protected]> | 2012-03-13 15:59:24 +0000 |
commit | b536ac6b2bc54ad9bb6e58fbd307055e419a288f (patch) | |
tree | 292434c3285e774ceaf1eb89a47fd9a07b563e77 /src/mesa/main/uniforms.c | |
parent | cc5b0ffae048824a6bdcaf43e0c8c2dd4a7ff14b (diff) |
mesa: add back glGetnUniform*v() overflow error reporting
The error was removed in:
commit 719909698c67c287a393d2380278e7b7495ae018
Author: Ian Romanick <[email protected]>
Date: Tue Oct 18 16:01:49 2011 -0700
mesa: Rewrite the way uniforms are tracked and handled
The GL_ARB_robustness spec doesn't say the implementation
should truncate the output, so just return after setting
the required error like it did before the above commit.
Also fixup an old comment and add an assert.
NOTE: This is a candidate for the 8.0 branch.
Diffstat (limited to 'src/mesa/main/uniforms.c')
-rw-r--r-- | src/mesa/main/uniforms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/uniforms.c b/src/mesa/main/uniforms.c index e0214a88a7a..be1e1728d30 100644 --- a/src/mesa/main/uniforms.c +++ b/src/mesa/main/uniforms.c @@ -479,7 +479,7 @@ _mesa_GetnUniformdvARB(GLhandleARB program, GLint location, (void) params; /* - _mesa_get_uniform(ctx, program, location, bufSize, GL_DOUBLE, params); + _mesa_get_uniform(ctx, program, location, bufSize, GLSL_TYPE_DOUBLE, params); */ _mesa_error(ctx, GL_INVALID_OPERATION, "glGetUniformdvARB" "(GL_ARB_gpu_shader_fp64 not implemented)"); |