aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-11-10 09:36:14 +0100
committermarha <marha@users.sourceforge.net>2011-11-10 09:36:14 +0100
commit5e98834988b1f5ab74ef6561e493615d55f8c10c (patch)
tree410e40b88f8b935f24cf0fa53c600d2efb25f520
parent85dcc15ab93bd999acd87d7153338632a32fa97b (diff)
downloadvcxsrv-5e98834988b1f5ab74ef6561e493615d55f8c10c.tar.gz
vcxsrv-5e98834988b1f5ab74ef6561e493615d55f8c10c.tar.bz2
vcxsrv-5e98834988b1f5ab74ef6561e493615d55f8c10c.zip
Solved compile problem in debug
-rw-r--r--mesalib/src/glsl/link_uniforms.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/mesalib/src/glsl/link_uniforms.cpp b/mesalib/src/glsl/link_uniforms.cpp
index b9d5361b0..1f860440c 100644
--- a/mesalib/src/glsl/link_uniforms.cpp
+++ b/mesalib/src/glsl/link_uniforms.cpp
@@ -323,9 +323,8 @@ 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;