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:
@@ -2375,7 +2375,10 @@ COGLES2Driver::~COGLES2Driver()
|
||||
r->drop();
|
||||
|
||||
if (callback && nr >= 0)
|
||||
{
|
||||
r->startUseProgram();
|
||||
callback->OnCreate(r, userData);
|
||||
}
|
||||
|
||||
return nr;
|
||||
}
|
||||
|
Reference in New Issue
Block a user