add a missing cast
This commit is contained in:
parent
2f573dd6b4
commit
80d17ccf4d
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user