mirror of https://github.com/mgba-emu/mgba.git
OpenGL: Remove lingering reference to glPixelStorei
This commit is contained in:
parent
c62ff00580
commit
1dceadbbf5
|
@ -287,7 +287,6 @@ void GBAGLES2ContextPostFrame(struct VideoBackend* v, const void* frame) {
|
||||||
#else
|
#else
|
||||||
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, VIDEO_HORIZONTAL_PIXELS, VIDEO_VERTICAL_PIXELS, 0, GL_RGBA, GL_UNSIGNED_BYTE, frame);
|
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, VIDEO_HORIZONTAL_PIXELS, VIDEO_VERTICAL_PIXELS, 0, GL_RGBA, GL_UNSIGNED_BYTE, frame);
|
||||||
#endif
|
#endif
|
||||||
glPixelStorei(GL_UNPACK_ROW_LENGTH, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GBAGLES2ContextCreate(struct GBAGLES2Context* context) {
|
void GBAGLES2ContextCreate(struct GBAGLES2Context* context) {
|
||||||
|
|
Loading…
Reference in New Issue