mirror of
https://github.com/yawut/SDL.git
synced 2026-07-31 07:27:07 -05:00
Fixed crash in glTexSubImage2D() with testoverlay on Mac OS X.
This commit is contained in:
parent
3b8ca814f6
commit
09a0bb1e39
|
|
@ -689,8 +689,6 @@ SetupTextureUpdate(GL_RenderData * renderdata, SDL_Texture * texture,
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user