mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Fix non OpenGL builds with old projects.
This commit is contained in:
parent
1d501ea95e
commit
1f8dc19fbe
2 changed files with 4 additions and 2 deletions
|
|
@ -150,6 +150,8 @@ bool CustomMaterial::onAdd()
|
|||
getName(), samplerName.c_str(), mShaderDataName.c_str() ));
|
||||
Con::errorf(error);
|
||||
|
||||
pos = i;
|
||||
|
||||
#if TORQUE_OPENGL
|
||||
GFXAssertFatal(0, error);
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue