mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-29 20:27:12 +01:00
kmsdrm: Add comment about KMSDRM_VideoQuit() changes.
This commit is contained in:
parent
63b7827709
commit
5682b066e9
@ -1448,6 +1448,10 @@ KMSDRM_VideoQuit(_THIS)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Don't call any SDL_GetDisplay* function until we get sure that
|
||||||
|
VideoInit() succeeded, because the SDL_GetDisplay* call would
|
||||||
|
throw it's own SDL_SetError(), overwritting the error set in
|
||||||
|
the failed VideoInit() call. */
|
||||||
dispdata = (SDL_DisplayData *)SDL_GetDisplayDriverData(0);
|
dispdata = (SDL_DisplayData *)SDL_GetDisplayDriverData(0);
|
||||||
|
|
||||||
/*****************************************************************/
|
/*****************************************************************/
|
||||||
|
Loading…
Reference in New Issue
Block a user