mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
Add sampler names to ShaderData for use on old versions of OpenGL and Opengl ES2 that not support explicit sampler location on shader files.
This commit is contained in:
parent
c354f59b72
commit
79e158d528
6 changed files with 156 additions and 3 deletions
|
|
@ -1117,4 +1117,10 @@ inline void GFXDevice::setVertexFormat( const GFXVertexFormat *vertexFormat )
|
|||
}
|
||||
|
||||
|
||||
#if defined(TORQUE_DEBUG) && defined(TORQUE_DEBUG_GFX)
|
||||
#define GFXAssertFatal(x, error) AssertFatal(x, error)
|
||||
#else
|
||||
#define GFXAssertFatal(x, error)
|
||||
#endif
|
||||
|
||||
#endif // _GFXDEVICE_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue