summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_opengl.c
diff options
context:
space:
mode:
authorJames Courtier-Dutton <jcdutton@users.sourceforge.net>2002-04-29 23:31:59 +0000
committerJames Courtier-Dutton <jcdutton@users.sourceforge.net>2002-04-29 23:31:59 +0000
commit0ec1fddf7f2eaf8eb29123d79e3462e723a37c1d (patch)
treef421f82664a92fb2568fdbd76c13a31d4db6f5b7 /src/video_out/video_out_opengl.c
parent7bfed2df7a422912d295348e100c73e8ee388216 (diff)
downloadxine-lib-0ec1fddf7f2eaf8eb29123d79e3462e723a37c1d.tar.gz
xine-lib-0ec1fddf7f2eaf8eb29123d79e3462e723a37c1d.tar.bz2
Replace all exit(1) with abort().
xine-lib should really never do an exit or abort, but instead pass back nice error values to the calling application, but until that happens, use abort() as that is tracable with gdb, whereas exit(1) is not backtraceable. CVS patchset: 1811 CVS date: 2002/04/29 23:31:59
Diffstat (limited to 'src/video_out/video_out_opengl.c')
-rw-r--r--src/video_out/video_out_opengl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_out/video_out_opengl.c b/src/video_out/video_out_opengl.c
index fd759c679..11cb4fd28 100644
--- a/src/video_out/video_out_opengl.c
+++ b/src/video_out/video_out_opengl.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_opengl.c,v 1.9 2002/04/26 17:19:04 jkeil Exp $
+ * $Id: video_out_opengl.c,v 1.10 2002/04/29 23:32:00 jcdutton Exp $
*
* video_out_glut.c, glut based OpenGL rendering interface for xine
* Matthias Hopf <mat@mshopf.de>
@@ -686,7 +686,7 @@ static void opengl_render_image (opengl_driver_t *this, opengl_frame_t *frame,
*/
if (! glXMakeCurrent (this->display, this->drawable, ctx)) {
fprintf (stderr, "video_out_opengl: no OpenGL support available (glXMakeCurrent)\n The drawable does not seem to be updated correctly.\n");
- exit (1);
+ abort();
}
DEBUGF ((stderr, "set context done\n"));
if (ctx == this->context)