Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DirectFB: fix DirectFB_SetTextureScaleMode() declaration
Fixes: src/video/directfb/SDL_DirectFB_render.c: In function ‘DirectFB_CreateRenderer’: src/video/directfb/SDL_DirectFB_render.c:1153:35: error: assignment to ‘void (*)(SDL_Renderer *, SDL_Texture *, SDL_ScaleMode)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 1153 | renderer->SetTextureScaleMode = DirectFB_SetTextureScaleMode; | ^ Signed-off-by: Peter Seiderer <[email protected]> --- Notes: - declaration was just recently changed by commit 'Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]"', see ccade50
- Loading branch information