hedgewars/uRender.pas
changeset 13500 b5f8864a38d3
parent 12903 8a40ce061d94
child 13511 36f3f77e9b1b
--- a/hedgewars/uRender.pas	Tue Jul 17 12:55:07 2018 +0200
+++ b/hedgewars/uRender.pas	Tue Jul 17 14:20:58 2018 +0200
@@ -527,7 +527,10 @@
 
 {$IFNDEF PAS2C}
     if not Load_GL_VERSION_2_0 then
-        halt;
+        begin
+        WriteLnToConsole('Load_GL_VERSION_2_0 returned false!');
+        halt(HaltStartupError);
+        end;
 {$ENDIF}
 
     shaderWater:= CompileProgram('water');