Mercurial > sdl-ios-xcode
comparison src/video/win32/SDL_win32opengl.c @ 2698:e1da92da346c gsoc2008_nds
Clean up.
author | Darren Alton <dalton@stevens.edu> |
---|---|
date | Wed, 27 Aug 2008 04:23:38 +0000 |
parents | 5ed37b16c1a7 |
children | 99210400e8b9 |
comparison
equal
deleted
inserted
replaced
2697:c9121b04cffa | 2698:e1da92da346c |
---|---|
498 } | 498 } |
499 | 499 |
500 if (_this->gl_config.accelerated >= 0) { | 500 if (_this->gl_config.accelerated >= 0) { |
501 *iAttr++ = WGL_ACCELERATION_ARB; | 501 *iAttr++ = WGL_ACCELERATION_ARB; |
502 *iAttr++ = | 502 *iAttr++ = |
503 (_this->gl_config. | 503 (_this->gl_config.accelerated ? WGL_GENERIC_ACCELERATION_ARB : |
504 accelerated ? WGL_GENERIC_ACCELERATION_ARB : | |
505 WGL_NO_ACCELERATION_ARB); | 504 WGL_NO_ACCELERATION_ARB); |
506 } | 505 } |
507 | 506 |
508 *iAttr = 0; | 507 *iAttr = 0; |
509 | 508 |