Cleanup
This commit is contained in:
parent
e15091b207
commit
f548044464
3 changed files with 3 additions and 6 deletions
|
@ -9,6 +9,7 @@
|
|||
#include "../../WindowsWrapper.h"
|
||||
|
||||
#include "../Platform.h"
|
||||
#include "SDL2.h"
|
||||
|
||||
typedef struct Backend_Surface
|
||||
{
|
||||
|
@ -20,8 +21,6 @@ typedef struct Backend_Glyph
|
|||
SDL_Surface *sdlsurface;
|
||||
} Backend_Glyph;
|
||||
|
||||
extern SDL_Window *window;
|
||||
|
||||
static SDL_Surface *window_sdlsurface;
|
||||
|
||||
static Backend_Surface framebuffer;
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "../../WindowsWrapper.h"
|
||||
|
||||
#include "../Platform.h"
|
||||
#include "SDL2.h"
|
||||
#include "../../Draw.h"
|
||||
#include "../../Ending.h"
|
||||
#include "../../MapName.h"
|
||||
|
@ -37,8 +38,6 @@ typedef struct Backend_Glyph
|
|||
unsigned int height;
|
||||
} Backend_Glyph;
|
||||
|
||||
extern SDL_Window *window;
|
||||
|
||||
static SDL_Renderer *renderer;
|
||||
|
||||
static Backend_Surface framebuffer;
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "../../WindowsWrapper.h"
|
||||
|
||||
#include "../Platform.h"
|
||||
#include "SDL2.h"
|
||||
|
||||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
||||
|
@ -28,8 +29,6 @@ typedef struct Backend_Glyph
|
|||
unsigned int height;
|
||||
} Backend_Glyph;
|
||||
|
||||
extern SDL_Window *window;
|
||||
|
||||
static SDL_Surface *window_sdlsurface;
|
||||
static SDL_Surface *framebuffer_sdlsurface;
|
||||
static Backend_Surface framebuffer;
|
||||
|
|
Loading…
Add table
Reference in a new issue