changeset 11797 | d8b7884abf9c |
parent 11384 | 7bc9042549c1 |
child 11803 | 984f9c76146d |
--- a/hedgewars/uRender.pas Mon May 02 22:52:21 2016 -0400 +++ b/hedgewars/uRender.pas Mon May 02 23:03:42 2016 -0400 @@ -508,8 +508,7 @@ {$IFDEF GL2} {$IFDEF PAS2C} - err := glewInit(); - if err <> GLEW_OK then + if glewInit() <> GLEW_OK then begin WriteLnToConsole('Failed to initialize GLEW.'); halt(HaltStartupError);