Date: Thu, 04 Sep 2003 02:12:35 +0200
authorSam Lantinga
Wed, 25 Jan 2006 06:04:21 +0000
changeset 1261031e093ba2a5
parent 1260 80f8c94b5199
child 1262 09164d2b8373
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.
src/video/wincommon/SDL_wingl.c
     1.1 --- a/src/video/wincommon/SDL_wingl.c	Tue Jan 24 07:20:18 2006 +0000
     1.2 +++ b/src/video/wincommon/SDL_wingl.c	Wed Jan 25 06:04:21 2006 +0000
     1.3 @@ -446,6 +446,12 @@
     1.4  			*value = 0;
     1.5  		}
     1.6  		break;
     1.7 +	    case SDL_GL_MULTISAMPLEBUFFERS:
     1.8 +		*value = 0;
     1.9 +		break;
    1.10 +	    case SDL_GL_MULTISAMPLESAMPLES:
    1.11 +		*value = 1;
    1.12 +		break;
    1.13  	    default:
    1.14  		retval = -1;
    1.15  		break;