You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug report was migrated from our old Bugzilla tracker.
Reported in version: HG 2.0 Reported for operating system, platform: iOS 3, iPhone/iPod touch
Comments on the original bug report:
On 2010-09-21 12:16:34 +0000, Pavel Kanzelsberger wrote:
SDL_UpdateTexture seems to work fine with OpenGL renderer on MacOSX, however when I run the very same code on iPhone using OpenGL ES, SDL_UpdateTexture seems to be broken. In fact it won't update the requested area of texture from surface but rather fill with some random pixels. It won't produce any crashes so I'm not able to post any more information from debugger...
On 2011-01-07 22:02:57 +0000, Nathaniel J Fries wrote:
looking at the "SetupTextureUpdate" functions for the two different renderers, I see that the GLES one binds the texture inside the function; the GL one does it after the glEnable call in SDL_UpdateTexture. Both call glPixelStorei. Perhaps glPixelStorei needs to be called BEFORE glEnable (glPixelStorei is called in both versions of SetupTextureUpdate)
I've never used glPixelStorei personally, so I don't know. It's just a difference noted between something that works and something that doesn't.
On 2011-02-16 03:57:05 +0000, Sam Lantinga wrote:
Can you retest with the latest snapshot? The OpenGL/ES* renderers have gotten a bunch of love (and maybe bugs!) lately. :) http://www.libsdl.org/tmp/SDL-1.3.zip
Thanks!
The text was updated successfully, but these errors were encountered:
This bug report was migrated from our old Bugzilla tracker.
Reported in version: HG 2.0
Reported for operating system, platform: iOS 3, iPhone/iPod touch
Comments on the original bug report:
On 2010-09-21 12:16:34 +0000, Pavel Kanzelsberger wrote:
On 2011-01-07 22:02:57 +0000, Nathaniel J Fries wrote:
On 2011-02-16 03:57:05 +0000, Sam Lantinga wrote:
The text was updated successfully, but these errors were encountered: