Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2013-08-17 06:06:45 +0400
committerMitchell Stokes <mogurijin@gmail.com>2013-08-17 06:06:45 +0400
commit51bca0d7dc8fb5033778796e14dd01c1c7f4355a (patch)
treecfb625f9607495c8d0bce8dde63e05567a3d9013 /source/blender/makesdna
parentef8ea14f459e0e765e07fc48858c18dc11cfdfb5 (diff)
BGE: Flipping vsync constants so VSYNC_ON is 0.
This will make transitions from older versions of Blender easier since VSYNC_ON will be the default. This could have been changed in a do_version, but the vsync code has yet to see an official release, so I figured this would be a bit nicer. Also, this makes VSYNC_ON the default for new scenes as well.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index ceb745cf90a..002d77fb0e6 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -693,8 +693,8 @@ typedef struct GameData {
#define RAS_STORE_VBO 3
/* vsync */
-#define VSYNC_OFF 0
-#define VSYNC_ON 1
+#define VSYNC_ON 0
+#define VSYNC_OFF 1
#define VSYNC_ADAPTIVE 2
/* GameData.flag */