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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue