diff --git a/Source/Glide64/Debugger.cpp b/Source/Glide64/Debugger.cpp index 35dbc5924..f6501caa6 100644 --- a/Source/Glide64/Debugger.cpp +++ b/Source/Glide64/Debugger.cpp @@ -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); }