mirror of
https://github.com/joel16/SDL2.git
synced 2025-03-01 08:06:00 +00:00
SetupWindowData in SDL_X11window.c was realloc()ing the display window list and incrementing numwindows even though those are being updated in functions that call
this function. The result is that it is possible to get the same window added to the list twice. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402738
This commit is contained in:
parent
b8101a644e
commit
e6d4abc63e
@ -477,7 +477,7 @@ X11_CreateWindow(_THIS, SDL_Window * window)
|
||||
}
|
||||
|
||||
int
|
||||
X11_CreateWindowFrom(_THIS, SDL_Window * window, const void *data)
|
||||
X11_CreateWindowFrom(_THIS, SDL_Window *window, const void *data)
|
||||
{
|
||||
Window w = (Window) data;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user