Browse Source

more explicit error message when no output driver

Nicolas Cannasse 7 years ago
parent
commit
c2d1c59a4e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      h3d/Engine.hx

+ 1 - 1
h3d/Engine.hx

@@ -72,7 +72,7 @@ class Engine {
 		#elseif usesys
 		driver = new haxe.GraphicsDriver(antiAlias);
 		#else
-		#if sys Sys.println #else trace #end("No output driver available.");
+		#if sys Sys.println #else trace #end("No output driver available." #if hl + " Compile with -lib hlsdl or -lib hldx" #end);
 		driver = new h3d.impl.LogDriver(new h3d.impl.NullDriver());
 		driver.logEnable = true;
 		#end