re: bug#563. checking in some commented out trace code and a fix so that the in testalpha.c the background only flashes when alpha == 255. The problem that is being
fixed is caused by clearing SDL_COPY_RLE_COLORKEY without setting SDL_COPY_RLE_DESIRED in SDL_UnRELSurface. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402746
This commit is contained in:
parent
d8da8f7c27
commit
71656d10c7
9 changed files with 66 additions and 41 deletions
|
@ -947,7 +947,7 @@ GL_DestroyRenderer(SDL_Renderer * renderer)
|
|||
|
||||
if (data) {
|
||||
if (data->context) {
|
||||
SDL_GL_MakeCurrent(0, NULL);
|
||||
/* SDL_GL_MakeCurrent(0, NULL); *//* doesn't do anything */
|
||||
SDL_GL_DeleteContext(data->context);
|
||||
}
|
||||
SDL_free(data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue