fixed legacy function input names if not compiling on Windows

This commit is contained in:
unknown 2015-03-02 15:48:35 -05:00
parent fc16d51525
commit a015fdc089
1 changed files with 1 additions and 1 deletions

View File

@ -1072,7 +1072,7 @@ int grDisplayGLError(const char* message)
#ifdef _WIN32
MessageBoxA(NULL, message, GL_errors[error_index], MB_ICONERROR);
#else
fprintf(stderr, "%s\n%s\n\n", GL_errors[index], text);
fprintf(stderr, "%s\n%s\n\n", GL_errors[index], message);
#endif
return (failure);
}