1
0

Support startUseProgram in COGLES2MaterialRenderer

Not tested much, but seems to be easier in es2 than in normal OpenGL
Probably because it doesn't have to care about switching back to fixed function pipeline


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6478 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien
2023-04-27 20:02:09 +00:00
parent 23ebdbe978
commit e4bb544079
3 changed files with 10 additions and 0 deletions

View File

@@ -2375,7 +2375,10 @@ COGLES2Driver::~COGLES2Driver()
r->drop();
if (callback && nr >= 0)
{
r->startUseProgram();
callback->OnCreate(r, userData);
}
return nr;
}