We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1262

Summary: Crash in GLES2 when calling SDL_DestroyRenderer
Product: SDL Reporter: Gueniffey <pierre-yves>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: major    
Priority: P2    
Version: HG 2.0   
Hardware: iPhone/iPod touch   
OS: iOS (All)   
Attachments: Patch for current snapshot - as of 2011/07/30

Description Gueniffey 2011-07-30 09:40:18 UTC
Created attachment 663 [details]
Patch for current snapshot - as of 2011/07/30

The way the shader cache is destroyed in GLES2 is broken.
The attached patch fixes it plus adds native support for SDL_PIXELFORMAT_ARGB8888, SDL_PIXELFORMAT_RGB888, SDL_PIXELFORMAT_BGR888 il opengles2.