gal/opengl: better message for checkGlError() unknown error sub-type
in GL_INVALID_FRAMEBUFFER_OPERATION main error. The returned error code is now printed in the error message.
This commit is contained in:
parent
1daa2224d0
commit
3e287160d8
|
@ -83,7 +83,7 @@ int checkGlError( const std::string& aInfo, bool aThrow )
|
||||||
errorMsg = "Framebuffer attachments have different dimensions";
|
errorMsg = "Framebuffer attachments have different dimensions";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
errorMsg = "Unknown incomplete framebufer error";
|
errorMsg.Printf( "Unknown incomplete framebuffer error id %X", status );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue