mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 07:20:36 +00:00
Drop redundant call to UNPACK_ROW_LENGTH.
This commit is contained in:
parent
a8f255e357
commit
ee8a93973f
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user