Browse Source

minor warning

ncannasse 8 years ago
parent
commit
3ddf320084
1 changed files with 4 additions and 0 deletions
  1. 4 0
      hxd/Stage.hl.hx

+ 4 - 0
hxd/Stage.hl.hx

@@ -1,6 +1,10 @@
 package hxd;
 import hxd.Key in K;
 
+#if (hlsdl && hldx)
+#error "You shouldn't use both -lib hlsdl and -lib hldx"
+#end
+
 //@:coreApi
 class Stage {