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:
Areloch 2017-04-08 20:30:57 -05:00
parent b052a1f970
commit ed14b6fced
43 changed files with 35 additions and 356 deletions

View file

@ -47,14 +47,6 @@
#include "core/util/safeDelete.h"
#if defined(TORQUE_OS_XENON)
//# define USE_MEM_VERTEX_BUFFERS
#endif
#if defined(USE_MEM_VERTEX_BUFFERS)
# include "gfx/D3D9/360/gfx360MemVertexBuffer.h"
#endif
namespace Opcode { class Model; class MeshInterface; }
namespace IceMaths { class IndexedTriangle; class Point; }
@ -89,12 +81,7 @@ struct TSDrawPrimitive
S32 matIndex; ///< holds material index & element type (see above enum)
};
#if defined(USE_MEM_VERTEX_BUFFERS)
struct __NullVertexStruct {};
typedef GFX360MemVertexBufferHandle<__NullVertexStruct> TSVertexBufferHandle;
#else
typedef GFXVertexBufferDataHandle TSVertexBufferHandle;
#endif
class TSMesh;
class TSShapeAlloc;