Fixed crash in glTexSubImage2D() with testoverlay on Mac OS X.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403265
This commit is contained in:
parent
f6ac2f5c20
commit
c81d1708ba
1 changed files with 0 additions and 2 deletions
|
@ -689,8 +689,6 @@ SetupTextureUpdate(GL_RenderData * renderdata, SDL_Texture * texture,
|
||||||
renderdata->glPixelStorei(GL_UNPACK_LSB_FIRST, 0);
|
renderdata->glPixelStorei(GL_UNPACK_LSB_FIRST, 0);
|
||||||
}
|
}
|
||||||
renderdata->glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
|
renderdata->glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
|
||||||
renderdata->glPixelStorei(GL_UNPACK_ROW_LENGTH,
|
|
||||||
pitch / SDL_BYTESPERPIXEL(texture->format));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue