src/video/SDL_video.c
changeset 3571 19691cebb866
parent 3570 7812d3e9564e
child 3596 f638ded38b8a
     1.1 --- a/src/video/SDL_video.c	Tue Dec 15 20:36:31 2009 +0000
     1.2 +++ b/src/video/SDL_video.c	Tue Dec 15 20:53:09 2009 +0000
     1.3 @@ -239,7 +239,7 @@
     1.4      _this->gl_config.multisamplebuffers = 0;
     1.5      _this->gl_config.multisamplesamples = 0;
     1.6      _this->gl_config.retained_backing = 1;
     1.7 -    _this->gl_config.accelerated = 1;
     1.8 +    _this->gl_config.accelerated = -1;  /* accelerated or not, both are fine */
     1.9      _this->gl_config.major_version = 2;
    1.10      _this->gl_config.minor_version = 1;
    1.11  
    1.12 @@ -3274,7 +3274,7 @@
    1.13      case SDL_GL_ACCELERATED_VISUAL:
    1.14          {
    1.15              /* FIXME: How do we get this information? */
    1.16 -            *value = _this->gl_config.accelerated;
    1.17 +            *value = (_this->gl_config.accelerated != 0);
    1.18              return 0;
    1.19          }
    1.20      default: