From 9ea513e22698fba429b8f3f2a9a0ccdbcc73d4a2 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Mon, 31 Oct 2016 21:51:40 +1100 Subject: mesa: pass gl_program to _mesa_append_uniforms_to_file() This now contains everything we need. Reviewed-by: Eric Anholt --- src/mesa/main/api_validate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/api_validate.c') diff --git a/src/mesa/main/api_validate.c b/src/mesa/main/api_validate.c index f68011ebbf9..33e80863842 100644 --- a/src/mesa/main/api_validate.c +++ b/src/mesa/main/api_validate.c @@ -210,7 +210,7 @@ _mesa_valid_to_render(struct gl_context *ctx, const char *where) * program isn't also bound to the fragment shader target we don't * want to log its fragment data. */ - _mesa_append_uniforms_to_file(shProg[i]->_LinkedShaders[i]); + _mesa_append_uniforms_to_file(shProg[i]->_LinkedShaders[i]->Program); } for (i = 0; i < MESA_SHADER_STAGES; i++) { -- cgit v1.2.3