mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
Use GFXDevice::setupGenericShaders for support non Fixed Fuction Pipelines.
OpenGL and DirectX11 not support FFP, and GFDevice::disableShaders has not the necessary information to decide the shader to be used. GFDevice::SetupGenericShaders is used instead of GFDevice::disableShaders. GFDevice::disableShaders will be deprecated on T3D 4.0
This commit is contained in:
parent
2142d452d4
commit
33742599b3
12 changed files with 14 additions and 16 deletions
|
|
@ -720,7 +720,7 @@ public:
|
|||
virtual U32 getNumRenderTargets() const = 0;
|
||||
|
||||
virtual void setShader( GFXShader *shader ) {}
|
||||
virtual void disableShaders() {}
|
||||
virtual void disableShaders() {} // TODO Remove when T3D 4.0
|
||||
|
||||
/// Set the buffer! (Actual set happens on the next draw call, just like textures, state blocks, etc)
|
||||
void setShaderConstBuffer(GFXShaderConstBuffer* buffer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue