This fixes the OpenGL rendering test, at least with my ATI card...
authorSam Lantinga
Mon, 07 Dec 2009 08:02:20 +0000
changeset 353340b9b0177e9a
parent 3532 101f94947013
child 3534 9d129e1d0782
This fixes the OpenGL rendering test, at least with my ATI card...
src/video/SDL_renderer_gl.c
     1.1 --- a/src/video/SDL_renderer_gl.c	Mon Dec 07 08:01:58 2009 +0000
     1.2 +++ b/src/video/SDL_renderer_gl.c	Mon Dec 07 08:02:20 2009 +0000
     1.3 @@ -1155,8 +1155,8 @@
     1.4       * least it would be pixel perfect.
     1.5       */
     1.6      data->glBegin(GL_POINTS);
     1.7 -#ifdef __APPLE__
     1.8 -    /* Mac OS X seems to always leave the second point open */
     1.9 +#if defined(__APPLE__) || defined(__WIN32__)
    1.10 +    /* Mac OS X and Windows seem to always leave the second point open */
    1.11      data->glVertex2f(0.5f + x2, 0.5f + y2);
    1.12  #else
    1.13      /* Linux seems to leave the right-most or bottom-most point open */