Fix compilation on very old mesa versions. vlj, please check.

This commit is contained in:
hiker 2014-09-02 09:51:30 +10:00
parent 0b0cf09dd6
commit 06915cc354

View File

@ -121,9 +121,11 @@ CALLBACK
debugCallback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length,
const GLchar* msg, const void *userparam)
{
#ifdef GL_DEBUG_SEVERITY_NOTIFICATION
// ignore minor notifications sent by some drivers (notably the nvidia one)
if (severity == GL_DEBUG_SEVERITY_NOTIFICATION)
return;
#endif
switch(source)
{