static int config_audio_filter = 1;
static int config_render = 1; /* opengl render */
static int config_skip_intro = 0;
-static int config_multisampling = 16;
+static int config_multisampling = 8;
static double config_fov = FOV_NOVAGEN;
static double config_monitor_distance = 31.5; /* inch */
static double config_benson_size = 1.0;
static int help_view = 1;
static int32_t osd_timer = 0;
#ifdef HAVE_OVR
-#define SCREEN_WIDTH 672
+#define SCREEN_WIDTH 1344
#define SCREEN_HEIGHT 800
#else
#define SCREEN_WIDTH (320*3)
#ifdef HAVE_OVR
int vbl_sync = 0;
int rift = 1;
+ int multisampling = 0;
window_width = SCREEN_WIDTH;
window_height = SCREEN_HEIGHT;
#else
int vbl_sync = 1;
int rift = 0;
+ int multisampling = config_multisampling;
window_width = (config_debug_opengl) ? SCREEN_WIDTH / 3 * 2 : SCREEN_WIDTH;
window_height = (config_debug_opengl) ? SCREEN_HEIGHT / 3 * 4 : SCREEN_HEIGHT;
#endif
- rc = init_sdl(argv[0], window_width, window_height, SOUND_SAMPLERATE, sdl_sound_chunk, keyboard_sdl, audio_sdl, resize_window, config_multisampling, vbl_sync, rift);
+ rc = init_sdl(argv[0], window_width, window_height, SOUND_SAMPLERATE, sdl_sound_chunk, keyboard_sdl, audio_sdl, resize_window, multisampling, vbl_sync, rift);
if (rc < 0)
goto done;
#ifdef HAVE_OVR
- rc = init_ovr();
+ rc = init_ovr(config_multisampling);
if (rc < 0)
goto done;
#endif