Permalink
Browse files

Error if HGE_DIRECTX_VER not set to 8 or 9

  • Loading branch information...
1 parent a51b3ec commit 7f1e64af065c112b8f1d662dbe4716709ee2a508 Dmytro Lytovchenko committed Feb 20, 2017
Showing with 3 additions and 0 deletions.
  1. +3 −0 include/hge.h
View
@@ -12,6 +12,9 @@
#ifndef HGE_H
#define HGE_H
+#ifndef HGE_DIRECTX_VER
+ #error Please set HGE_DIRECTX_VER to 8 or 9
+#endif // not defined HGE_DIRECTX_VER
#include <windows.h>

0 comments on commit 7f1e64a

Please sign in to comment.