From c48f792197c709cc681cb812ac65a89a6c44946d Mon Sep 17 00:00:00 2001 From: masscat Date: Wed, 27 Jun 2007 14:44:40 +0000 Subject: [PATCH] Added stencil buffer --- desmume/src/gtk-glade/gdk_3Demu.c | 3 ++- desmume/src/gtk/gdk_3Demu.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/desmume/src/gtk-glade/gdk_3Demu.c b/desmume/src/gtk-glade/gdk_3Demu.c index dabb88fe9..76c4cecf9 100644 --- a/desmume/src/gtk-glade/gdk_3Demu.c +++ b/desmume/src/gtk-glade/gdk_3Demu.c @@ -1,4 +1,4 @@ -/* $Id: gdk_3Demu.c,v 1.2 2007-04-24 16:22:57 masscat Exp $ +/* $Id: gdk_3Demu.c,v 1.3 2007-06-27 14:44:40 masscat Exp $ */ /* Copyright (C) 2006-2007 Ben Jaques @@ -157,6 +157,7 @@ init_opengl_gdk_3Demu( void) { glconfig = gdk_gl_config_new_by_mode (GDK_GL_MODE_RGBA | GDK_GL_MODE_DEPTH | + GDK_GL_MODE_STENCIL | GDK_GL_MODE_SINGLE); if (glconfig == NULL) { diff --git a/desmume/src/gtk/gdk_3Demu.c b/desmume/src/gtk/gdk_3Demu.c index d1d774fe4..76c4cecf9 100644 --- a/desmume/src/gtk/gdk_3Demu.c +++ b/desmume/src/gtk/gdk_3Demu.c @@ -1,4 +1,4 @@ -/* $Id: gdk_3Demu.c,v 1.2 2007-04-24 16:22:11 masscat Exp $ +/* $Id: gdk_3Demu.c,v 1.3 2007-06-27 14:44:40 masscat Exp $ */ /* Copyright (C) 2006-2007 Ben Jaques @@ -157,6 +157,7 @@ init_opengl_gdk_3Demu( void) { glconfig = gdk_gl_config_new_by_mode (GDK_GL_MODE_RGBA | GDK_GL_MODE_DEPTH | + GDK_GL_MODE_STENCIL | GDK_GL_MODE_SINGLE); if (glconfig == NULL) {