diff options
author | Alexander von Gluck <[email protected]> | 2011-12-30 08:48:43 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-12-30 08:48:51 -0700 |
commit | 141d961d847111b2596f9c3094d5ebf1639c8c24 (patch) | |
tree | 63a773f5b1cd0863a87b657ea63c4501d6f5ee6c /src | |
parent | 797960dbeca675d8966752bc7a201f311123f3d5 (diff) |
glsl: fix usage of potentially undefined data_end union
Reviewed-by: Ian Romanick <[email protected]>
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/glsl/link_uniforms.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/link_uniforms.cpp b/src/glsl/link_uniforms.cpp index c7de480a573..b331db705cf 100644 --- a/src/glsl/link_uniforms.cpp +++ b/src/glsl/link_uniforms.cpp @@ -365,9 +365,9 @@ link_assign_uniform_locations(struct gl_shader_program *prog) for (unsigned i = 0; i < num_user_uniforms; i++) { assert(uniforms[i].storage != NULL); } -#endif assert(parcel.values == data_end); +#endif prog->NumUserUniformStorage = num_user_uniforms; prog->UniformStorage = uniforms; |