From aa03fffcb32e4a04589d74273c81316b39afacd9 Mon Sep 17 00:00:00 2001 From: jussi Date: Thu, 30 Nov 2023 02:50:00 +0200 Subject: Raygui textures with SetShapesTexture. --- src/state.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/state.c') diff --git a/src/state.c b/src/state.c index 0b4dae8..716bf4e 100644 --- a/src/state.c +++ b/src/state.c @@ -30,6 +30,7 @@ bool stateInit( int argn, const char **argc, const char *exePath ) { } state->defaultFont = GetFontDefault(); state->defaultMaterial = LoadMaterialDefault(); + state->defaultTexture = (Texture){ 1, 1, 1, 1, 7 }; state->RLGLcurrentShaderLocs = malloc( RL_MAX_SHADER_LOCATIONS * sizeof( int ) ); int *defaultShaderLocs = rlGetShaderLocsDefault(); -- cgit v1.2.3