mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-02 03:53:50 +00:00
Removes bits of code and includes that are based on old 360, xbox and PS3 flags that are no longer needed.
This commit is contained in:
parent
b052a1f970
commit
ed14b6fced
43 changed files with 35 additions and 356 deletions
|
|
@ -100,13 +100,6 @@ void ShaderGen::initShaderGen()
|
|||
mInit = true;
|
||||
|
||||
String shaderPath = Con::getVariable( "$shaderGen::cachePath");
|
||||
#if defined(TORQUE_SHADERGEN) && ( defined(TORQUE_OS_XENON) || defined(TORQUE_OS_PS3) )
|
||||
// If this is a console build, and TORQUE_SHADERGEN is defined
|
||||
// (signifying that new shaders should be generated) then clear the shader
|
||||
// path so that the MemFileSystem is used instead.
|
||||
shaderPath.clear();
|
||||
#endif
|
||||
|
||||
if (!shaderPath.equal( "shadergen:" ) && !shaderPath.isEmpty() )
|
||||
{
|
||||
// this is necessary, especially under Windows with UAC enabled
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue