]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/opengl/opengl.factor
Fix comments to be ! not #!.
[factor.git] / basis / opengl / opengl.factor
index 26a3410677c3ca9e4554c98da0ed720c41ddcb64..2fb27d03684c4886fb3757a5c8d0b954d058b655 100644 (file)
@@ -104,9 +104,9 @@ MACRO: all-enabled-client-state ( seq quot -- quot )
     line-vertices GL_LINES 0 2 glDrawArrays ;
 
 :: (rect-vertices) ( loc dim -- vertices )
-    #! We use GL_LINE_STRIP with a duplicated first vertex
-    #! instead of GL_LINE_LOOP to work around a bug in Apple's
-    #! X3100 driver.
+    ! We use GL_LINE_STRIP with a duplicated first vertex
+    ! instead of GL_LINE_LOOP to work around a bug in Apple's
+    ! X3100 driver.
     loc first2 [ 0.3 + ] bi@ :> ( x y )
     dim first2 [ 0.6 - ] bi@ :> ( w h )
     [
@@ -226,7 +226,7 @@ MACRO: set-draw-buffers ( buffers -- quot )
     fix-coordinates glViewport ;
 
 : init-matrices ( -- )
-    #! Leaves with matrix mode GL_MODELVIEW
+    ! Leaves with matrix mode GL_MODELVIEW
     GL_PROJECTION glMatrixMode
     glLoadIdentity
     GL_MODELVIEW glMatrixMode