[prev in list] [next in list] [prev in thread] [next in thread]
List: xine-cvslog
Subject: [xine-cvs] HG: xine-lib: video_out_opengl: Actually bail out if no
From: Matthias Hopf <mat () mshopf ! de>
Date: 2008-08-08 15:21:03
Message-ID: 96eaf3a2cb5b9361d00a.1218208824 () hg ! debian ! org
[Download RAW message or body]
# HG changeset patch
# User Matthias Hopf <mat@mshopf.de>
# Date 1218208824 -7200
# Node ID 96eaf3a2cb5b9361d00aa02c51bd740c515a5f25
# Parent 36a830cc4210cc5a8452d4a917e48642313be259
video_out_opengl: Actually bail out if no display found.
diff -r 96eaf3a2cb5b9361d00aa02c51bd740c515a5f25 -r \
36a830cc4210cc5a8452d4a917e48642313be259 \
src/video_out/video_out_opengl.c
--- a/src/video_out/video_out_opengl.c Fri Aug 08 17:20:24 2008 +0200
+++ b/src/video_out/video_out_opengl.c Fri Aug 08 15:39:37 2008 +0200
@@ -1970,6 +1970,7 @@ static int opengl_verify_direct (x11_vis
if (!vis || !vis->display ||
! (root = RootWindow (vis->display, vis->screen))) {
fprintf (stderr, "[videoout_opengl]: Don't have a root window to verify\n");
+ return 0;
}
if (! (visinfo = glXChooseVisual (vis->display, vis->screen, attribs)))
return 0;
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Xine-cvslog mailing list
Xine-cvslog@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xine-cvslog
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic