Cast nullptr to const void* to satisfy picky compilers

This commit is contained in:
Maciej Suminski 2017-08-08 14:47:27 +02:00
parent 262fcc91af
commit e91ce300fb
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ void enableGlDebug( bool aEnable )
if( aEnable )
{
glEnable( GL_DEBUG_OUTPUT );
glDebugMessageCallback( debugMsgCallback, nullptr );
glDebugMessageCallback( debugMsgCallback, (const void*) nullptr );
}
else
{