Fix warnings unearthed by #579

This commit is contained in:
Tillmann Karras
2014-07-13 02:16:51 +02:00
parent 99d4ab0b71
commit 0ccee6c87b
18 changed files with 6 additions and 141 deletions

View File

@ -163,6 +163,7 @@ static void ApplySSAASettings() {
}
}
#if defined(_DEBUG) || defined(DEBUGFAST)
static void GLAPIENTRY ErrorCallback( GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const char* message, const void* userParam)
{
const char *s_source;
@ -196,6 +197,7 @@ static void GLAPIENTRY ErrorCallback( GLenum source, GLenum type, GLuint id, GLe
default: ERROR_LOG(VIDEO, "id: %x, source: %s, type: %s - %s", id, s_source, s_type, message); break;
}
}
#endif
// Two small Fallbacks to avoid GL_ARB_ES2_compatibility
static void GLAPIENTRY DepthRangef(GLfloat neardepth, GLfloat fardepth)