comparison src/video/SDL_renderer_gl.c @ 3013:8cc00819c8d6

Reverted Bob's indent checkin
author Sam Lantinga <slouken@libsdl.org>
date Sat, 10 Jan 2009 21:50:26 +0000
parents 8f4ed5ec2b06
children 20d65430e63c
comparison
equal deleted inserted replaced
3012:7e30c2dc7783 3013:8cc00819c8d6
924 renderdata->glPixelStorei(GL_UNPACK_LSB_FIRST, 0); 924 renderdata->glPixelStorei(GL_UNPACK_LSB_FIRST, 0);
925 } 925 }
926 renderdata->glPixelStorei(GL_UNPACK_ALIGNMENT, 1); 926 renderdata->glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
927 renderdata->glPixelStorei(GL_UNPACK_ROW_LENGTH, 927 renderdata->glPixelStorei(GL_UNPACK_ROW_LENGTH,
928 (pitch / bytes_per_pixel(texture->format)) / 928 (pitch / bytes_per_pixel(texture->format)) /
929 ((GL_TextureData *) texture-> 929 ((GL_TextureData *) texture->driverdata)->
930 driverdata)->HACK_RYAN_FIXME); 930 HACK_RYAN_FIXME);
931 } 931 }
932 932
933 static int 933 static int
934 GL_SetTextureColorMod(SDL_Renderer * renderer, SDL_Texture * texture) 934 GL_SetTextureColorMod(SDL_Renderer * renderer, SDL_Texture * texture)
935 { 935 {