Commit b46c77199475f70d40376fb3564cf2f7822ef258

Ryan C. Gordon 2019-07-02T16:49:35

raspberry: Actually commit the whole patch. :) (Thanks, Joe!) Fixes Bugzilla #4699.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/video/raspberry/SDL_rpimouse.c b/src/video/raspberry/SDL_rpimouse.c
index b4711e4..0a51a40 100644
--- a/src/video/raspberry/SDL_rpimouse.c
+++ b/src/video/raspberry/SDL_rpimouse.c
@@ -128,10 +128,6 @@ RPI_ShowCursor(SDL_Cursor * cursor)
         return -1;
     }
     
-    if (cursor == global_cursor) {
-        return 0;
-    }
-
     if (cursor != global_cursor) {
         if (global_cursor != NULL) {
             curdata = (RPI_CursorData *) global_cursor->driverdata;