SDL/src/render
Sam Lantinga 82b8e6df87 Fixed bug 2158 - Pixel missing in SDL_RenderDrawLines
Sean McKean

I am running Ubuntu 12.04 (GL version 1.4 Mesa 8.0.4) , and on drawing a set of lines through the renderer through SDL_RenderDrawLines() (looped or not) or SDL_RenderDrawRect() I notice a pixel missing. For RenderDrawLines() it seems to be the second point in the sequence; for RenderDrawRect() it is the lower-right. This can be fixed by specifying SDL_RenderDrawPoint(s), but wouldn't it be easier to specify each pixel in a GL_POINTS glBegin/End loop in the OpenGL code, just to make sure?

I also ran the same program on Android; the rendering seemed to be correct, which uses glDrawArrays.
2013-10-20 10:10:14 -07:00
..
direct3d Fixed bug 2162 - SDL_RenderClear not clearing entire render target 2013-10-19 01:29:23 -07:00
opengl Fixed bug 2158 - Pixel missing in SDL_RenderDrawLines 2013-10-20 10:10:14 -07:00
opengles Fixes bug #2040, prepare SDL_GL_CONTEXT_EGL for deprecation on v2.1 2013-08-29 15:02:32 -03:00
opengles2 Do a 32-bit compare on RGBA values. Thsi should be inlined in optimized builds. 2013-10-05 12:29:05 -07:00
psp Christoph Mallon: Remove pointless if (x) before SDL_free(x) 2013-08-29 08:29:21 -07:00
software Fixed building using MinGW 2013-10-17 23:02:29 -07:00
mmx.h Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
SDL_render.c Fixed bug 2122 - SDL_CreateTexture allows illegal texture sizes 2013-09-30 22:16:14 -07:00
SDL_sysrender.h Added optimized YUV texture upload path with SDL_UpdateYUVTexture() 2013-09-28 14:06:47 -07:00
SDL_yuv_mmx.c Fixes #2022, do not resume on Android when surfaceChanged 2013-08-12 11:13:50 -03:00
SDL_yuv_sw_c.h Added optimized YUV texture upload path with SDL_UpdateYUVTexture() 2013-09-28 14:06:47 -07:00
SDL_yuv_sw.c Fixed const/non-const warning 2013-10-03 03:31:05 -07:00