summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore_x/xlib/ecore_x_vsync.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ecore_x/xlib/ecore_x_vsync.c b/src/lib/ecore_x/xlib/ecore_x_vsync.c
index e3b1140f84..ac8f7b65a9 100644
--- a/src/lib/ecore_x/xlib/ecore_x_vsync.c
+++ b/src/lib/ecore_x/xlib/ecore_x_vsync.c
@@ -325,8 +325,10 @@ _drm_init(void)
325 325
326 // vboxvideo 4.3.14 is crashing when calls drmWaitVBlank() 326 // vboxvideo 4.3.14 is crashing when calls drmWaitVBlank()
327 // https://www.virtualbox.org/ticket/13265 327 // https://www.virtualbox.org/ticket/13265
328 // also affects 4.3.12
328 if (stat("/sys/module/vboxvideo", &st) == 0) 329 if (stat("/sys/module/vboxvideo", &st) == 0)
329 { 330 {
331/*
330 FILE *fp = fopen("/sys/module/vboxvideo/version", "r"); 332 FILE *fp = fopen("/sys/module/vboxvideo/version", "r");
331 if (fp) 333 if (fp)
332 { 334 {
@@ -340,6 +342,8 @@ _drm_init(void)
340 } 342 }
341 fclose(fp); 343 fclose(fp);
342 } 344 }
345 */
346 return 0;
343 } 347 }
344 348
345 snprintf(buf, sizeof(buf), "/dev/dri/card1"); 349 snprintf(buf, sizeof(buf), "/dev/dri/card1");