Permalink
Browse files

fixed error message

  • Loading branch information...
1 parent 23101b5 commit 5a731bb5bc55ab2c30c4de7fb34a70a88acdcc49 @dividuum committed Dec 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 shader.c
View
@@ -149,7 +149,7 @@ int shader_new(lua_State *L, const char *vertex, const char *fragment) {
glGetObjectParameterivARB(vs, GL_COMPILE_STATUS, &status);
if (!status) {
- fault = "compiling pixel shader";
+ fault = "compiling vertex shader";
glGetShaderInfoLog(vs, sizeof(log), &log_len, log);
if (log_len > 0)
goto error;

0 comments on commit 5a731bb

Please sign in to comment.