SDL-mirror/src/render/opengl
Sam Lantinga 2a5e664b39 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
..
SDL_glfuncs.h Fixed bug 2158 - Pixel missing in SDL_RenderDrawLines 2013-10-20 10:10:14 -07:00
SDL_render_gl.c Fixed bug 2158 - Pixel missing in SDL_RenderDrawLines 2013-10-20 10:10:14 -07:00
SDL_shaders_gl.c OCD fixes: Adds a space after /* (glory to regular expressions!) 2013-08-21 09:47:10 -03:00
SDL_shaders_gl.h Happy New Year! 2013-02-15 08:47:44 -08:00