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
   Converted to Pascal by Peter Vreman
 }
 }
 program bounce;
 program bounce;
+
+{$mode objfpc}
+
 uses
 uses
   gl,glut;
   gl,glut;
 
 

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

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

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

@@ -34,6 +34,8 @@
 }
 }
 program morph3d;
 program morph3d;
 
 
+{$mode objfpc}
+
 {
 {
 This document is VERY incomplete, but tries to describe the mathematics used
 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
 in the program. At this moment it just describes how the polyhedra are
@@ -913,7 +915,10 @@ begin
 end.
 end.
 {
 {
   $Log$
   $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...
   * added the new, adapted OpenGL examples...
 
 
   Revision 1.4  2002/09/07 15:43:05  peter
   Revision 1.4  2002/09/07 15:43:05  peter

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

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