Mesa (master): meta: Get the correct info log

Eric Anholt anholt at kemper.freedesktop.org
Wed Feb 12 00:00:24 UTC 2014


Module: Mesa
Branch: master
Commit: e68aa128492a65cc4eb610c3b8afa497d1868157
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e68aa128492a65cc4eb610c3b8afa497d1868157

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Dec 16 16:25:07 2013 -0800

meta: Get the correct info log

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 src/mesa/drivers/common/meta.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
index c24b823..353aa39 100644
--- a/src/mesa/drivers/common/meta.c
+++ b/src/mesa/drivers/common/meta.c
@@ -403,7 +403,7 @@ compile_shader_with_debug(struct gl_context *ctx, GLenum target, const GLcharARB
       return 0;
    }
 
-   _mesa_GetProgramInfoLog(shader, size, NULL, info);
+   _mesa_GetShaderInfoLog(shader, size, NULL, info);
    _mesa_problem(ctx,
 		 "meta program compile failed:\n%s\n"
 		 "source:\n%s\n",




More information about the mesa-commit mailing list