mirror of
https://github.com/GayPizzaSpecifications/padlab.git
synced 2025-08-04 05:31:33 +00:00
refactors & viewport fix
This commit is contained in:
5
draw.h
5
draw.h
@ -3,7 +3,7 @@
|
||||
|
||||
#define DISPLAY_SCALE 0.8889
|
||||
|
||||
#include "maths.h"
|
||||
#include "util.h"
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct SDL_Window SDL_Window;
|
||||
@ -34,6 +34,9 @@ void QuitDraw(void);
|
||||
// height of the canvas in actual pixels.
|
||||
size GetDrawSizeInPixels(void);
|
||||
|
||||
// Call on resize for backends that need manual viewport resizing.
|
||||
void SetDrawViewport(size size);
|
||||
|
||||
// Set the current draw colour.
|
||||
//
|
||||
// Params:
|
||||
|
Reference in New Issue
Block a user