Commit b231d0b9 authored by Sam Lantinga's avatar Sam Lantinga

Split the rendering API out into a separate header file.

parent 6539ab9c
...@@ -69,6 +69,7 @@ HDRS = \ ...@@ -69,6 +69,7 @@ HDRS = \
SDL_power.h \ SDL_power.h \
SDL_quit.h \ SDL_quit.h \
SDL_rect.h \ SDL_rect.h \
SDL_render.h \
SDL_revision.h \ SDL_revision.h \
SDL_rwops.h \ SDL_rwops.h \
SDL_scancode.h \ SDL_scancode.h \
......
...@@ -86,6 +86,7 @@ ...@@ -86,6 +86,7 @@
#include "SDL_loadso.h" #include "SDL_loadso.h"
#include "SDL_mutex.h" #include "SDL_mutex.h"
#include "SDL_power.h" #include "SDL_power.h"
#include "SDL_render.h"
#include "SDL_rwops.h" #include "SDL_rwops.h"
#include "SDL_thread.h" #include "SDL_thread.h"
#include "SDL_timer.h" #include "SDL_timer.h"
......
...@@ -328,7 +328,6 @@ extern DECLSPEC int SDLCALL SDL_EnableKeyRepeat(int delay, int interval); ...@@ -328,7 +328,6 @@ extern DECLSPEC int SDLCALL SDL_EnableKeyRepeat(int delay, int interval);
extern DECLSPEC void SDLCALL SDL_GetKeyRepeat(int *delay, int *interval); extern DECLSPEC void SDLCALL SDL_GetKeyRepeat(int *delay, int *interval);
extern DECLSPEC int SDLCALL SDL_EnableUNICODE(int enable); extern DECLSPEC int SDLCALL SDL_EnableUNICODE(int enable);
typedef SDL_Texture* SDL_TextureID;
typedef SDL_Window* SDL_WindowID; typedef SDL_Window* SDL_WindowID;
#define SDL_RenderPoint SDL_RenderDrawPoint #define SDL_RenderPoint SDL_RenderDrawPoint
......
This diff is collapsed.
This diff is collapsed.
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include "SDL_mouse.h" #include "SDL_mouse.h"
#include "SDL_keysym.h" #include "SDL_keysym.h"
#include "SDL_render.h"
#include "SDL_shape.h" #include "SDL_shape.h"
/* The SDL video driver */ /* The SDL video driver */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment