mirror of
https://github.com/aap/librw.git
synced 2025-12-20 17:39:49 +00:00
fixed build for ps2
This commit is contained in:
@@ -22,7 +22,8 @@ using namespace d3d;
|
||||
|
||||
// TODO: move to header, but not as #define
|
||||
#ifndef RW_D3D9
|
||||
#define D3DDECL_END() {0xFF,0,D3DDECLTYPE_UNUSED,0,0,0}
|
||||
static VertexElement _d3ddec_end = {0xFF,0,D3DDECLTYPE_UNUSED,0,0,0};
|
||||
#define D3DDECL_END() _d3ddec_end
|
||||
#endif
|
||||
|
||||
#define NUMDECLELT 12
|
||||
|
||||
@@ -93,7 +93,7 @@ Texture *readNativeTexture(Stream *stream);
|
||||
void writeNativeTexture(Texture *tex, Stream *stream);
|
||||
uint32 getSizeNativeTexture(Texture *tex);
|
||||
|
||||
enum : rw::uint32 {
|
||||
enum {
|
||||
D3DFMT_UNKNOWN = 0xFFFFFFFF,
|
||||
|
||||
/* Swizzled formats */
|
||||
|
||||
Reference in New Issue
Block a user