Skip to content

Commit

Permalink
Enable xrRenderPC_GL cmake build. Add "typedef enum _D3DTEXTURETRANSF…
Browse files Browse the repository at this point in the history
…ORMFLAGS" from wine. Small linux header fix
  • Loading branch information
q4a committed Sep 29, 2018
1 parent 0bc733d commit cb65b4e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions src/Common/PlatformLinux.inl
Original file line number Diff line number Diff line change
Expand Up @@ -908,5 +908,16 @@ typedef enum _D3DTRANSFORMSTATETYPE {

#define D3DDECL_END() {0xFF,0,D3DDECLTYPE_UNUSED,0,0,0}

typedef enum _D3DTEXTURETRANSFORMFLAGS {
D3DTTFF_DISABLE = 0,
D3DTTFF_COUNT1 = 1,
D3DTTFF_COUNT2 = 2,
D3DTTFF_COUNT3 = 3,
D3DTTFF_COUNT4 = 4,
D3DTTFF_PROJECTED = 256,

D3DTTFF_FORCE_DWORD = 0x7fffffff
} D3DTEXTURETRANSFORMFLAGS;

inline BOOL SwitchToThread() { return (0 == pthread_yield()); }

2 changes: 1 addition & 1 deletion src/Layers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ add_subdirectory(xrAPI)
#add_subdirectory(xrRenderPC_R2)
#add_subdirectory(xrRenderPC_R3)
#add_subdirectory(xrRenderPC_R4)
#add_subdirectory(xrRenderPC_GL)
add_subdirectory(xrRenderPC_GL)
2 changes: 1 addition & 1 deletion src/Layers/xrRender/Animation.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "stdafx.h"

#include "animation.h"
#include "Animation.h"

using namespace animation;

Expand Down

0 comments on commit cb65b4e

Please sign in to comment.