Explorar o código

Fixed bug 3877 - missing SDLCALL in SDLTest_ExampleHitTestCallback

Ozkan Sezer

Following trivial patch adds missing SDLCALL to SDLTest_ExampleHitTestCallback()
Sam Lantinga %!s(int64=8) %!d(string=hai) anos
pai
achega
5fc2017661
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/test/SDL_test_common.c

+ 1 - 1
src/test/SDL_test_common.c

@@ -676,7 +676,7 @@ SDLTest_LoadIcon(const char *file)
     return (icon);
 }
 
-static SDL_HitTestResult
+static SDL_HitTestResult SDLCALL
 SDLTest_ExampleHitTestCallback(SDL_Window *win, const SDL_Point *area, void *data)
 {
     int w, h;