mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-21 02:38:14 +00:00
Renamed SDL events for clarity
Fixes https://github.com/libsdl-org/SDL/issues/6877
This commit is contained in:
@@ -69,7 +69,7 @@ static void SW_WindowEvent(SDL_Renderer *renderer, const SDL_WindowEvent *event)
|
||||
{
|
||||
SW_RenderData *data = (SW_RenderData *)renderer->driverdata;
|
||||
|
||||
if (event->type == SDL_WINDOWEVENT_SIZE_CHANGED) {
|
||||
if (event->type == SDL_EVENT_WINDOW_SIZE_CHANGED) {
|
||||
data->surface = NULL;
|
||||
data->window = NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user