Skip to content

Commit cb65b4e

Browse files
committed
Enable xrRenderPC_GL cmake build. Add "typedef enum _D3DTEXTURETRANSFORMFLAGS" from wine. Small linux header fix
1 parent 0bc733d commit cb65b4e

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

src/Common/PlatformLinux.inl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,5 +908,16 @@ typedef enum _D3DTRANSFORMSTATETYPE {
908908

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

911+
typedef enum _D3DTEXTURETRANSFORMFLAGS {
912+
D3DTTFF_DISABLE = 0,
913+
D3DTTFF_COUNT1 = 1,
914+
D3DTTFF_COUNT2 = 2,
915+
D3DTTFF_COUNT3 = 3,
916+
D3DTTFF_COUNT4 = 4,
917+
D3DTTFF_PROJECTED = 256,
918+
919+
D3DTTFF_FORCE_DWORD = 0x7fffffff
920+
} D3DTEXTURETRANSFORMFLAGS;
921+
911922
inline BOOL SwitchToThread() { return (0 == pthread_yield()); }
912923

src/Layers/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ add_subdirectory(xrAPI)
33
#add_subdirectory(xrRenderPC_R2)
44
#add_subdirectory(xrRenderPC_R3)
55
#add_subdirectory(xrRenderPC_R4)
6-
#add_subdirectory(xrRenderPC_GL)
6+
add_subdirectory(xrRenderPC_GL)

src/Layers/xrRender/Animation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "stdafx.h"
22

3-
#include "animation.h"
3+
#include "Animation.h"
44

55
using namespace animation;
66

0 commit comments

Comments
 (0)