From 61c932f2605aac5a8fef4264087e9ea8f86c6760 Mon Sep 17 00:00:00 2001 From: jussi Date: Tue, 2 Jul 2024 20:49:25 +0300 Subject: GetMouseOffset and GetMouseScale. --- src/state.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/state.c') diff --git a/src/state.c b/src/state.c index c17f3f0..0fed44e 100644 --- a/src/state.c +++ b/src/state.c @@ -19,6 +19,8 @@ bool stateInit( int argn, const char** argc, const char* basePath ) { state->logLevelInvalid = LOG_ERROR; state->gcUnload = true; state->lineSpacing = 15; + state->mouseOffset = (Vector2){ 0, 0 }; + state->mouseScale = (Vector2){ 1, 1 }; InitWindow( state->resolution.x, state->resolution.y, "ReiLua" ); -- cgit v1.2.3