mirror of
https://github.com/minetest/irrlicht.git
synced 2024-12-26 18:50:31 +01:00
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:
parent
621bad3111
commit
dd16d578d8
@ -2373,6 +2373,10 @@ COGLES2Driver::~COGLES2Driver()
|
|||||||
callback, baseMaterial, userData);
|
callback, baseMaterial, userData);
|
||||||
|
|
||||||
r->drop();
|
r->drop();
|
||||||
|
|
||||||
|
if (callback && nr >= 0)
|
||||||
|
callback->OnCreate(r, userData);
|
||||||
|
|
||||||
return nr;
|
return nr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user