mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2024-12-02 08:51:57 +00:00
Fix compile when system GLDEBUGPROCARB signature is without const
.. by just casting our DebugCallback to GLDEBUGPROCARB. It shouldn't make a difference ABI-wise, if there is a const at a parameter or not. Fixes #61
This commit is contained in:
parent
d3ddf61d9c
commit
9372fddabb
1 changed files with 1 additions and 1 deletions
|
@ -626,7 +626,7 @@ static void R_CheckPortableExtensions()
|
|||
|
||||
if( r_debugContext.GetInteger() >= 1 )
|
||||
{
|
||||
qglDebugMessageCallbackARB( DebugCallback, NULL );
|
||||
qglDebugMessageCallbackARB( (GLDEBUGPROCARB)DebugCallback, NULL );
|
||||
}
|
||||
if( r_debugContext.GetInteger() >= 2 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue