GLESv2Imp: fix bad return statement
android-emugl: add formatting strings to fprintf output, fixing possible security issue
This commit is contained in:
parent
830b2d815e
commit
785136fd36
4 changed files with 4 additions and 3 deletions
Binary file not shown.
|
|
@ -1048,8 +1048,10 @@ GL_APICALL void GL_APIENTRY glGetIntegerv(GLenum pname, GLint* params){
|
|||
if (ctx->glGetIntegerv(pname,params))
|
||||
{
|
||||
if (destroyCtx)
|
||||
{
|
||||
deleteGLESContext(ctx);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
bool es2 = ctx->getCaps()->GL_ARB_ES2_COMPATIBILITY;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue