Browse Source

* objfpc mode added to be able to compile the demos correctly from IDE

pierre 22 years ago
parent
commit
f3dd759fe7

+ 3 - 0
packages/extra/opengl/examples/bounce.pp

@@ -8,6 +8,9 @@
   Converted to Pascal by Peter Vreman
 }
 program bounce;
+
+{$mode objfpc}
+
 uses
   gl,glut;
 

+ 2 - 0
packages/extra/opengl/examples/glutdemo.pp

@@ -6,6 +6,8 @@
   as Public Domain.
 }
 
+{$mode objfpc}
+
 program GLUTDemo;
 uses
   GL, GLU, GLUT;

+ 6 - 1
packages/extra/opengl/examples/morph3d.pp

@@ -34,6 +34,8 @@
 }
 program morph3d;
 
+{$mode objfpc}
+
 {
 This document is VERY incomplete, but tries to describe the mathematics used
 in the program. At this moment it just describes how the polyhedra are
@@ -913,7 +915,10 @@ begin
 end.
 {
   $Log$
-  Revision 1.1  2002-10-13 14:01:45  sg
+  Revision 1.2  2002-12-18 13:33:20  pierre
+   * objfpc mode added to be able to compile the demos correctly from IDE
+
+  Revision 1.1  2002/10/13 14:01:45  sg
   * added the new, adapted OpenGL examples...
 
   Revision 1.4  2002/09/07 15:43:05  peter

+ 2 - 0
packages/extra/opengl/examples/radblur.pp

@@ -14,6 +14,8 @@
 //------------------------------------------------------------------------
 program RadialBlur;
 
+{$mode objfpc}
+
 uses GL, GLU, GLUT;
 
 const