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 - Crash in GLES2 when calling SDL_DestroyRenderer
Summary: Crash in GLES2 when calling SDL_DestroyRenderer
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: iPhone/iPod touch iOS (All)
: P2 major
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-30 09:40 UTC by Gueniffey
Modified: 2011-11-23 04:12 UTC (History)
0 users

See Also:


Attachments
Patch for current snapshot - as of 2011/07/30 (15.41 KB, application/octet-stream)
2011-07-30 09:40 UTC, Gueniffey
Details

Note You need to log in before you can comment on or make changes to this bug.
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.