Drop redundant call to UNPACK_ROW_LENGTH.

This commit is contained in:
Themaister 2012-09-27 20:54:24 +02:00
parent a8f255e357
commit ee8a93973f

View File

@ -523,7 +523,6 @@ static void load_texture_data(GLuint *obj, const struct texture_image *img, bool
0, GL_ARGB_SCE, GL_UNSIGNED_INT_8_8_8_8, img->pixels);
#else
glPixelStorei(GL_UNPACK_ALIGNMENT, 4);
glPixelStorei(GL_UNPACK_ROW_LENGTH, 0);
glTexImage2D(GL_TEXTURE_2D,
0, RARCH_GL_INTERNAL_FORMAT, img->width, img->height,
0, RARCH_GL_TEXTURE_TYPE, RARCH_GL_FORMAT32, img->pixels);