Skip to content

Commit

Permalink
Hopefully fix tr_model compilation on windows vk
Browse files Browse the repository at this point in the history
  • Loading branch information
ensiform committed Nov 29, 2023
1 parent 488161d commit 6814eb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/renderervk/tr_model.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

#include "tr_local.h"

#ifdef _WIN32
#include <windows.h> // for VirtualAlloc, VirtualFree, FormatMessage, GetLastError - See R_Hunk_* functions
#endif

#define LL(x) x=LittleLong(x)

// Ridah
Expand Down
1 change: 0 additions & 1 deletion src/win32/msvc2017/renderervk.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@
<ClCompile Include="..\..\qcommon\puff.c" />
<ClCompile Include="..\..\renderervk\tr_animation_mdm.c" />
<ClCompile Include="..\..\renderervk\tr_animation_mds.c" />
<ClCompile Include="..\..\renderervk\tr_arb.c" />
<ClCompile Include="..\..\renderervk\tr_backend.c" />
<ClCompile Include="..\..\renderervk\tr_bsp.c" />
<ClCompile Include="..\..\renderervk\tr_cmds.c" />
Expand Down

0 comments on commit 6814eb8

Please sign in to comment.