Browse Source

6-20-19_textures

shuvit 8 months ago
parent
commit
1430acdffd
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      scripts/Settings.py

+ 3
- 1
scripts/Settings.py View File

@@ -98,7 +98,9 @@ def setres():
98 98
         if dict['fullscreen_on'] == 0:
99 99
             bge.render.setFullScreen(False) 
100 100
             
101
-    bge.render.setWindowSize(resx, resy)         
101
+    bge.render.setWindowSize(resx, resy)   
102
+    bge.render.setVsync(dict['vsync_on'])      #doesn't work?
103
+
102 104
     #print("resolution = ", resx, resy)       
103 105
         
104 106
 def loadlevel():

Loading…
Cancel
Save