SDL3 port

This commit is contained in:
2024-03-10 19:34:07 +11:00
parent 2496f9e2a3
commit 8a5529e752
9 changed files with 130 additions and 171 deletions

View File

@ -27,13 +27,6 @@ int InitDraw(SDL_Window* window);
// subsystem is uninitialised.
void QuitDraw(void);
// Get the actual size of the canvas in pixels.
//
// Returns:
// size struct with 'w' and 'h' set to the width &
// height of the canvas in actual pixels.
size GetDrawSizeInPixels(void);
// Call on resize for backends that need manual viewport resizing.
void SetDrawViewport(size size);