mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-28 00:00:03 +02:00
add a missing cast
This commit is contained in:
+2
-2
@@ -169,11 +169,11 @@ QGLFunctionPointer QGL_getExtensionFunc( const char* symbol ){
|
||||
}
|
||||
else
|
||||
{
|
||||
return (QGLFunctionPointer)qglXGetProcAddressARB( reinterpret_cast<const GLubyte*>( symbol ) );
|
||||
return (QGLFunctionPointer) qglXGetProcAddressARB( reinterpret_cast<const GLubyte*>( symbol ) );
|
||||
}
|
||||
#elif defined( WIN32 )
|
||||
ASSERT_NOTNULL( qwglGetProcAddress );
|
||||
return qwglGetProcAddress( symbol );
|
||||
return (QGLFunctionPointer) qwglGetProcAddress( symbol );
|
||||
#else
|
||||
#error "unsupported platform"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user