Support IShaderConstantSetCallBack::OnCreate in ogles2/webgl1 driver

ogles1 has no shader support, so nothing to be done there.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6468 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien 2023-04-22 21:56:17 +00:00
parent 621bad3111
commit dd16d578d8

@ -2373,6 +2373,10 @@ COGLES2Driver::~COGLES2Driver()
callback, baseMaterial, userData);
r->drop();
if (callback && nr >= 0)
callback->OnCreate(r, userData);
return nr;
}