Mercurial > sdl-ios-xcode
changeset 2804:7af8c4ad427e
Fixed crash in glTexSubImage2D() with testoverlay on Mac OS X.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 29 Nov 2008 06:29:33 +0000 |
parents | 8fe261aae1bb |
children | 2ed5ff5373d8 |
files | src/video/SDL_renderer_gl.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/SDL_renderer_gl.c Sat Nov 29 06:27:26 2008 +0000 +++ b/src/video/SDL_renderer_gl.c Sat Nov 29 06:29:33 2008 +0000 @@ -689,8 +689,6 @@ renderdata->glPixelStorei(GL_UNPACK_LSB_FIRST, 0); } renderdata->glPixelStorei(GL_UNPACK_ALIGNMENT, 1); - renderdata->glPixelStorei(GL_UNPACK_ROW_LENGTH, - pitch / SDL_BYTESPERPIXEL(texture->format)); } static int