mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-26 15:58:41 +00:00
Removed duplicated window size events, and added SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED
This commit is contained in:
parent
af0ec13fc3
commit
bf4095359c
17 changed files with 104 additions and 145 deletions
|
|
@ -331,7 +331,7 @@ static void D3D_WindowEvent(SDL_Renderer *renderer, const SDL_WindowEvent *event
|
|||
{
|
||||
D3D_RenderData *data = (D3D_RenderData *)renderer->driverdata;
|
||||
|
||||
if (event->type == SDL_EVENT_WINDOW_SIZE_CHANGED) {
|
||||
if (event->type == SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED) {
|
||||
data->updateSize = SDL_TRUE;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue