Fix non OpenGL builds with old projects.

This commit is contained in:
LuisAntonRebollo 2015-02-15 20:27:46 +01:00
parent 1d501ea95e
commit 1f8dc19fbe
2 changed files with 4 additions and 2 deletions

View file

@ -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;