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:
jean-pierre charras 2020-04-27 10:34:54 +02:00
parent 1daa2224d0
commit 3e287160d8
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ int checkGlError( const std::string& aInfo, bool aThrow )
errorMsg = "Framebuffer attachments have different dimensions";
break;
default:
errorMsg = "Unknown incomplete framebufer error";
errorMsg.Printf( "Unknown incomplete framebuffer error id %X", status );
}
}
else