Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Split the rendering API out into a separate header file.

  • Loading branch information
slouken committed Feb 1, 2011
1 parent 5cc9c02 commit 0a64381f8bfdfb5a45408125dc774d3ffd7d8c36
Showing with 642 additions and 581 deletions.
  1. +1 −0 Makefile.in
  2. +1 −0 include/SDL.h
  3. +0 −1 include/SDL_compat.h
  4. +639 −0 include/SDL_render.h
  5. +0 −580 include/SDL_video.h
  6. +1 −0 src/video/SDL_sysvideo.h
@@ -69,6 +69,7 @@ HDRS = \
SDL_power.h \
SDL_quit.h \
SDL_rect.h \
SDL_render.h \
SDL_revision.h \
SDL_rwops.h \
SDL_scancode.h \
@@ -86,6 +86,7 @@
#include "SDL_loadso.h"
#include "SDL_mutex.h"
#include "SDL_power.h"
#include "SDL_render.h"
#include "SDL_rwops.h"
#include "SDL_thread.h"
#include "SDL_timer.h"
@@ -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 int SDLCALL SDL_EnableUNICODE(int enable);

typedef SDL_Texture* SDL_TextureID;
typedef SDL_Window* SDL_WindowID;

#define SDL_RenderPoint SDL_RenderDrawPoint

0 comments on commit 0a64381

Please sign in to comment.