From 629d273ecf30188d3895f99c0f7dbfb2e4ac9b45 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 27 Sep 2010 14:37:42 +0200 Subject: [PATCH] Added: Detailed error for GL_FRAGMENT_PROGRAM_ARB --- code/nel/src/3d/driver/opengl/driver_opengl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/src/3d/driver/opengl/driver_opengl.cpp b/code/nel/src/3d/driver/opengl/driver_opengl.cpp index 4688d5ff3..cfe8788ca 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl.cpp +++ b/code/nel/src/3d/driver/opengl/driver_opengl.cpp @@ -1811,7 +1811,7 @@ uint loadARBFragmentProgramStringNative(const char *prog, bool forceNativeProgra } else { - nlwarning("init fragment program failed: errorPos: %d isNative: %d", errorPos, isNative); + nlwarning("init fragment program failed: errorPos: %d isNative: %d: %s", errorPos, isNative, (const char*)glGetString(GL_PROGRAM_ERROR_STRING_ARB)); } return 0; }