Selaa lähdekoodia

Fixed build warning

Sam Lantinga 8 vuotta sitten
vanhempi
commit
04e76499ea
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/render/SDL_render.c

+ 1 - 1
src/render/SDL_render.c

@@ -2178,7 +2178,7 @@ SDL_BlendOperation
 SDL_GetBlendModeAlphaOperation(SDL_BlendMode blendMode)
 {
     blendMode = SDL_GetLongBlendMode(blendMode);
-    return (SDL_BlendFactor)(((Uint32)blendMode >> 16) & 0xF);
+    return (SDL_BlendOperation)(((Uint32)blendMode >> 16) & 0xF);
 }
 
 /* vi: set ts=4 sw=4 expandtab: */