Browse Source

haiku: fix use of SDL_ConvertSurfaceFormat

Anonymous Maarten 2 years ago
parent
commit
f85ef6fc3c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/video/haiku/SDL_bvideo.cc

+ 1 - 1
src/video/haiku/SDL_bvideo.cc

@@ -190,7 +190,7 @@ static SDL_Cursor * HAIKU_CreateCursor(SDL_Surface * surface, int hot_x, int hot
     SDL_Cursor *cursor;
     SDL_Surface *converted;
 
-    converted = SDL_ConvertSurfaceFormat(surface, SDL_PIXELFORMAT_ARGB8888, 0);
+    converted = SDL_ConvertSurfaceFormat(surface, SDL_PIXELFORMAT_ARGB8888);
     if (converted == NULL) {
         return NULL;
     }