work around weird error encountered with GeForce MX 440 in the OGL renderer
This commit is contained in:
@@ -272,7 +272,8 @@ RString GetInfoLog( GLhandleARB h )
|
||||
{
|
||||
GLint iLength;
|
||||
glGetObjectParameterivARB( h, GL_OBJECT_INFO_LOG_LENGTH_ARB, &iLength );
|
||||
if (!iLength)
|
||||
|
||||
if( iLength <= 0 )
|
||||
return RString();
|
||||
|
||||
GLcharARB *pInfoLog = new GLcharARB[iLength];
|
||||
|
||||
Reference in New Issue
Block a user