From 29f8dfd37a2fbf4190e551bef0b04ff1ae1fd7b6 Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Mon, 29 Jul 2013 22:31:32 +0000 Subject: BGE: Adding vsync control. Users can enable vsync, disable vsync, or use adaptive vsync via UI options in the render properties, or by using the new Python method bge.render.setVsync(). Win32 and X11 support are done via EXT_swap_control. Support for using EXT_swap_control on OS X still needs to be added to Ghost. --- release/scripts/startup/bl_ui/properties_game.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/properties_game.py b/release/scripts/startup/bl_ui/properties_game.py index 38e49853454..025d86204f2 100644 --- a/release/scripts/startup/bl_ui/properties_game.py +++ b/release/scripts/startup/bl_ui/properties_game.py @@ -413,6 +413,9 @@ class RENDER_PT_game_system(RenderButtonsPanel, Panel): col.prop(gs, "use_display_lists") col.active = gs.raster_storage != 'VERTEX_BUFFER_OBJECT' + row = layout.row() + row.prop(gs, "vsync") + row = layout.row() row.prop(gs, "raster_storage") -- cgit v1.2.3