Codechange: [SDL2] Move SDLSurface code to its own function
This increases readability, and allow future subdrivers to not use SDLSurface to draw.
This commit is contained in:
committed by
Michael Lutz
parent
6098811b49
commit
0d58bc9384
@@ -57,6 +57,7 @@ private:
|
||||
bool CreateMainSurface(uint w, uint h, bool resize);
|
||||
bool CreateMainWindow(uint w, uint h);
|
||||
const char *Initialize();
|
||||
bool AllocateBackingStore(int w, int h, bool force = false);
|
||||
|
||||
#ifdef __EMSCRIPTEN__
|
||||
/* Convert a constant pointer back to a non-constant pointer to a member function. */
|
||||
|
||||
Reference in New Issue
Block a user