mirror of
https://github.com/encounter/SDL.git
synced 2025-05-20 14:21:25 +00:00
Haiku: comment this should not be SDL_free()
This commit is contained in:
parent
c0029f01d7
commit
c878d9a0aa
@ -281,7 +281,7 @@ void HAIKU_GetDisplayModes(_THIS, SDL_VideoDisplay *display) {
|
|||||||
SDL_AddDisplayMode(display, &mode);
|
SDL_AddDisplayMode(display, &mode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
free(bmodes);
|
free(bmodes); /* This should not be SDL_free() */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -313,7 +313,7 @@ int HAIKU_SetDisplayMode(_THIS, SDL_VideoDisplay *display, SDL_DisplayMode *mode
|
|||||||
return SDL_SetError("Bad video mode");
|
return SDL_SetError("Bad video mode");
|
||||||
}
|
}
|
||||||
|
|
||||||
free(bmode_list);
|
free(bmode_list); /* This should not be SDL_free() */
|
||||||
|
|
||||||
#if SDL_VIDEO_OPENGL
|
#if SDL_VIDEO_OPENGL
|
||||||
/* FIXME: Is there some way to reboot the OpenGL context? This doesn't
|
/* FIXME: Is there some way to reboot the OpenGL context? This doesn't
|
||||||
|
Loading…
x
Reference in New Issue
Block a user