Added PWINDOW and PSURFACE types
This commit is contained in:
parent
c65f4d79f6
commit
8b92c6eee6
@ -3,3 +3,5 @@
|
||||
#include <SDL_mixer.h>
|
||||
#include <SDL_ttf.h>
|
||||
|
||||
typedef SDL_Window* PWINDOW;
|
||||
typedef SDL_Surface* PSURFACE;
|
||||
|
@ -6,8 +6,8 @@ CONSTANT INT SCREEN_WIDTH = 640;
|
||||
CONSTANT INT SCREEN_HEIGHT = 480;
|
||||
|
||||
MAIN
|
||||
DIM AS SDL_Window* window = NULL;
|
||||
DIM AS SDL_Surface* screenSurface = NULL;
|
||||
DIM AS PWINDOW window = NULL;
|
||||
DIM AS PSURFACE screenSurface = NULL;
|
||||
|
||||
IF ( SDL_Init( SDL_INIT_VIDEO ) < 0 ) THEN
|
||||
PRINT( SDL_GetError() );
|
||||
|
Loading…
Reference in New Issue
Block a user