YaGL: Fix min/max swap interval values
authorStanislav Vorobiov <s.vorobiov@samsung.com>
Fri, 28 Jun 2013 14:39:22 +0000 (18:39 +0400)
committerStanislav Vorobiov <s.vorobiov@samsung.com>
Fri, 28 Jun 2013 14:39:22 +0000 (18:39 +0400)
hw/yagl_drivers/egl_glx/yagl_egl_glx.c
hw/yagl_drivers/egl_wgl/yagl_egl_wgl.c

index 0b7eb2c..15874d2 100644 (file)
@@ -199,8 +199,8 @@ static bool yagl_egl_glx_config_fill(struct yagl_egl_driver *driver,
     cfg->max_pbuffer_width = max_pbuffer_width;
     cfg->max_pbuffer_height = max_pbuffer_height;
     cfg->max_pbuffer_size = max_pbuffer_size;
-    cfg->max_swap_interval = 10;
-    cfg->min_swap_interval = 1;
+    cfg->max_swap_interval = 1000;
+    cfg->min_swap_interval = 0;
     cfg->native_visual_id = native_visual_id;
     cfg->native_visual_type = native_visual_type;
     cfg->samples_per_pixel = samples_per_pixel;
index 8b4d033..3a14353 100644 (file)
@@ -286,8 +286,8 @@ static bool yagl_egl_wgl_config_fill(YaglEglWglDriver *egl_wgl,
     cfg->caveat = EGL_NONE;
     cfg->frame_buffer_level = 0;
     cfg->samples_per_pixel = 0;
-    cfg->max_swap_interval = 10;
-    cfg->min_swap_interval = 1;
+    cfg->max_swap_interval = 1000;
+    cfg->min_swap_interval = 0;
     cfg->driver_data = pix_fmt;
 
     filled = true;