From 738f471978d1fa43942562f5ccba4b6c9f40a8e2 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Thu, 7 Mar 2013 17:47:40 -0400 Subject: [PATCH] Fixed shader creation --- src/modules/graphics/opengl/wrap_Graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/graphics/opengl/wrap_Graphics.cpp b/src/modules/graphics/opengl/wrap_Graphics.cpp index a5ae23f8c..d335cf58c 100644 --- a/src/modules/graphics/opengl/wrap_Graphics.cpp +++ b/src/modules/graphics/opengl/wrap_Graphics.cpp @@ -502,7 +502,7 @@ int w_newShader(lua_State *L) // clamp stack to 2 elements lua_settop(L, 2); - luax_getfunction(L, "graphics", "_effectCodeToGLSL"); + luax_getfunction(L, "graphics", "_shaderCodeToGLSL"); // push vertcode and fragcode strings to the top of the stack so they become arguments for the function lua_pushvalue(L, 1);