From 566e024ad8e5517447011b40b02aaf79132efea8 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 25 Aug 2009 23:48:51 -0400 Subject: [PATCH] Fixed compiler warning. --- mojoshader_opengl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mojoshader_opengl.c b/mojoshader_opengl.c index f08b6496..bbdd6d7b 100644 --- a/mojoshader_opengl.c +++ b/mojoshader_opengl.c @@ -1459,8 +1459,7 @@ static int build_constants_lists(MOJOSHADER_glProgram *program) continue; // nothing to see here. // only use arrays for 'c' registers. - const MOJOSHADER_uniformType type = u->type; - assert(type == MOJOSHADER_UNIFORM_FLOAT); + assert(u->type == MOJOSHADER_UNIFORM_FLOAT); // !!! FIXME: deal with this. } // for