Skip to content

Commit d9afc98

Browse files
eagleivgq4a
authored andcommitted
xrRender: fix build r1-r4 renders
1 parent 9766763 commit d9afc98

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Layers/xrRender/SkeletonX.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ BOOL pick_bone(CKinematics* Parent, IKinematics::pick_result& r, float dist, con
165165
VERIFY(!"Not implemented");
166166
return FALSE;
167167
}
168-
#elif USE_DX10
168+
#else USE_DX10
169169
template <typename T>
170170
BOOL pick_bone(CKinematics* Parent, IKinematics::pick_result& r, float dist, const Fvector& S, const Fvector& D,
171171
Fvisual* V, u16* indices, CBoneData::FacesVec& faces)

src/Layers/xrRender/tss_def.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33

44
#pragma once
55

6+
#if defined(USE_OGL)
67
#include "../xrRenderGL/glState.h"
8+
#endif
79

810
class SimulatorStates
911
{

0 commit comments

Comments
 (0)