mirror of https://github.com/encounter/SDL.git
[KMS/DRM] Fix cpmpilation warnings. Thanks to Ozkan Sezer for pointing this out!
This commit is contained in:
parent
cef1bd0639
commit
e5bf1850f5
|
@ -239,7 +239,7 @@ KMSDRM_ShowCursor(SDL_Cursor * cursor)
|
||||||
uint32_t pixel;
|
uint32_t pixel;
|
||||||
|
|
||||||
int i,j;
|
int i,j;
|
||||||
int ret;
|
int ret = 0;
|
||||||
|
|
||||||
mouse = SDL_GetMouse();
|
mouse = SDL_GetMouse();
|
||||||
if (!mouse) {
|
if (!mouse) {
|
||||||
|
@ -404,7 +404,6 @@ KMSDRM_DeinitMouse(_THIS)
|
||||||
SDL_VideoDevice *video_device = SDL_GetVideoDevice();
|
SDL_VideoDevice *video_device = SDL_GetVideoDevice();
|
||||||
SDL_DisplayData *dispdata = (SDL_DisplayData *)SDL_GetDisplayDriverData(0);
|
SDL_DisplayData *dispdata = (SDL_DisplayData *)SDL_GetDisplayDriverData(0);
|
||||||
KMSDRM_PlaneInfo info = {0};
|
KMSDRM_PlaneInfo info = {0};
|
||||||
SDL_Mouse *mouse = SDL_GetMouse();
|
|
||||||
|
|
||||||
/* 1- Destroy the curso GBM BO. */
|
/* 1- Destroy the curso GBM BO. */
|
||||||
if (video_device && dispdata->cursor_bo) {
|
if (video_device && dispdata->cursor_bo) {
|
||||||
|
|
Loading…
Reference in New Issue