changeset 1261:031e093ba2a5

Date: Thu, 04 Sep 2003 02:12:35 +0200 From: Ignacio Casta�o <castanyo@yahoo.es> Subject: [SDL] SDL_GL_GetAttribute( SDL_GL_MULTISAMPLESAMPLES ... It would be nice to add the following lines: case SDL_GL_MULTISAMPLEBUFFERS: *value = 0; break; case SDL_GL_MULTISAMPLESAMPLES: *value = 1; break; in wincommon\SDL_wingl.c int the function WIN_GL_GetAttribute at line 484, so that it returns the correct values when arb_pixel_format is not supported.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 25 Jan 2006 06:04:21 +0000
parents 80f8c94b5199
children 09164d2b8373
files src/video/wincommon/SDL_wingl.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/wincommon/SDL_wingl.c	Tue Jan 24 07:20:18 2006 +0000
+++ b/src/video/wincommon/SDL_wingl.c	Wed Jan 25 06:04:21 2006 +0000
@@ -446,6 +446,12 @@
 			*value = 0;
 		}
 		break;
+	    case SDL_GL_MULTISAMPLEBUFFERS:
+		*value = 0;
+		break;
+	    case SDL_GL_MULTISAMPLESAMPLES:
+		*value = 1;
+		break;
 	    default:
 		retval = -1;
 		break;