Skip to content

Commit

Permalink
Date: Thu, 04 Sep 2003 02:12:35 +0200
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
slouken committed Jan 25, 2006
1 parent 5f3dd4e commit 6ec07f6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/video/wincommon/SDL_wingl.c
Expand Up @@ -446,6 +446,12 @@ int WIN_GL_GetAttribute(_THIS, SDL_GLattr attrib, int* value)
*value = 0;
}
break;
case SDL_GL_MULTISAMPLEBUFFERS:
*value = 0;
break;
case SDL_GL_MULTISAMPLESAMPLES:
*value = 1;
break;
default:
retval = -1;
break;
Expand Down

0 comments on commit 6ec07f6

Please sign in to comment.