--- a/mojoshader.c Sat Aug 15 03:44:36 2009 -0400 +++ b/mojoshader.c Sun Aug 16 17:00:32 2009 -0400 @@ -2106,7 +2106,7 @@ return; } // if - ctx->output = &ctx->globals; + ctx->output = &ctx->preflight; if (strcmp(profilestr, MOJOSHADER_PROFILE_GLSL) == 0) /* no-op. */ ;