Browse Source

* Commented out the initialisation check, because this function doesn't
exist anymore in recent versions of the OpenGL units

sg 22 years ago
parent
commit
e0085f7dcd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/extra/gtk/gtkgl/gtkgldemo.pp

+ 2 - 2
packages/extra/gtk/gtkgl/gtkgldemo.pp

@@ -109,10 +109,10 @@ var
 
 
 begin
 begin
   (* OpenGL functions can be called only if make_current returns true *)
   (* OpenGL functions can be called only if make_current returns true *)
-  if not InitGl then begin
+{  if not InitGl then begin
     WriteLn('OpenGL is not supported on this system');
     WriteLn('OpenGL is not supported on this system');
     Halt(2);
     Halt(2);
-  end;
+  end;}
 
 
 
 
   (* initialize gtk *)
   (* initialize gtk *)