Skip to content

Commit

Permalink
d3d11: Only build the D3D11 glue code on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 21, 2020
1 parent b462c12 commit 26d4e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader_d3d11.c
Expand Up @@ -10,7 +10,6 @@
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN 1
#include <windows.h> // Include this early to avoid SDL conflicts
#endif

#define __MOJOSHADER_INTERNAL__ 1
#include "mojoshader_internal.h"
Expand Down Expand Up @@ -912,5 +911,6 @@ const char *MOJOSHADER_d3d11GetError(void)
} // MOJOSHADER_d3d11GetError

#endif /* SUPPORT_PROFILE_HLSL */
#endif /* _WIN32 */

// end of mojoshader_d3d11.c ...

0 comments on commit 26d4e3e

Please sign in to comment.