]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/terrain/terrain.factor
opengl: properly scale viewports.
[factor.git] / extra / terrain / terrain.factor
index 5a6585103706c6e100574091dc0b3d9f33dc5e0e..ad2d9aec96f3c1ef3408614daaddfcc5194daf47 100644 (file)
@@ -266,7 +266,7 @@ M: terrain-world end-game-world
 M: terrain-world resize-world
     GL_PROJECTION glMatrixMode
     glLoadIdentity
-    dim>> [ [ 0 0 ] dip first2 glViewport ]
+    dim>> [ [ { 0 0 } ] dip gl-viewport ]
     [ frustum glFrustum ] bi ;
 
 M: terrain-world draw-world*