src/video/SDL_video.c
changeset 1341 d02b552e5304
parent 1338 604d73db6802
child 1358 c71e05b4dc2e
     1.1 --- a/src/video/SDL_video.c	Tue Feb 07 11:18:21 2006 +0000
     1.2 +++ b/src/video/SDL_video.c	Tue Feb 07 12:11:33 2006 +0000
     1.3 @@ -798,7 +798,7 @@
     1.4  		 */
     1.5  		if ( (bpp == 16) &&
     1.6  		     (SDL_strstr((const char *)video->glGetString(GL_EXTENSIONS), "GL_EXT_packed_pixels") ||
     1.7 -		     (atof((const char *)video->glGetString(GL_VERSION)) >= 1.2f))
     1.8 +		     (SDL_atof((const char *)video->glGetString(GL_VERSION)) >= 1.2f))
     1.9  		   ) {
    1.10  			video->is_32bit = 0;
    1.11  			SDL_VideoSurface = SDL_CreateRGBSurface(