summaryrefslogtreecommitdiff
path: root/include/SDL_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/SDL_compat.h')
-rw-r--r--include/SDL_compat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/SDL_compat.h b/include/SDL_compat.h
index 49bd9f8c..e77808d6 100644
--- a/include/SDL_compat.h
+++ b/include/SDL_compat.h
@@ -295,7 +295,9 @@ extern DECLSPEC int SDLCALL SDL_EnableKeyRepeat(int delay, int interval);
extern DECLSPEC void SDLCALL SDL_GetKeyRepeat(int *delay, int *interval);
extern DECLSPEC int SDLCALL SDL_EnableUNICODE(int enable);
-#define SDL_RenderFill SDL_RenderRect
+#define SDL_RenderPoint SDL_RenderDrawPoint
+#define SDL_RenderLine SDL_RenderDrawLine
+#define SDL_RenderFill(X) (X) ? SDL_RenderFillRect(X) : SDL_RenderClear()
extern DECLSPEC int SDLCALL SDL_putenv(const char *variable);