From 15d2a8724930bfb3d87f20b286391d4133d42d98 Mon Sep 17 00:00:00 2001 From: Ian C Date: Sun, 23 May 2021 20:45:19 +0000 Subject: Updates for SDL2 --- src/gfx.h | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/gfx.h') diff --git a/src/gfx.h b/src/gfx.h index d89edee..8166b2c 100644 --- a/src/gfx.h +++ b/src/gfx.h @@ -55,11 +55,6 @@ void GFXInit(void); -/* Get the SDL_Surface for the screen -*/ -SDL_Surface *GFXGetSurface(void); - - /* Get the pixel value for a colour */ Uint32 GFXRGB(Uint8 r, Uint8 g, Uint8 b); @@ -97,27 +92,11 @@ SDL_Event *GFXGetKey(void); SDL_Event *GFXWaitKey(void); -/* Lock the screen for updates -*/ -void GFXLock(void); - - -/* Unlock the screen following updates -*/ -void GFXUnlock(void); - - /* Note that no bound checking (except for GFXPrint()) is done - it is the callers responsibility to plot onscreen. */ -/* Plot a point without locking. GFXLock() and GFXUnlock() MUST surround - calls to this -*/ -void GFXFastPlot(int x, int y, Uint32 col); - - /* Plot a point */ void GFXPlot(int x, int y, Uint32 col); -- cgit v1.2.3