diff options
| author | jussi | 2023-11-30 02:50:00 +0200 |
|---|---|---|
| committer | jussi | 2023-11-30 02:50:00 +0200 |
| commit | aa03fffcb32e4a04589d74273c81316b39afacd9 (patch) | |
| tree | 862f1ebed684982a68221aae94e5384ff4473480 /src/state.c | |
| parent | 8882d2ff2c4c77c08a5c5b0931a70ff906ecbdb5 (diff) | |
| download | reilua-enhanced-aa03fffcb32e4a04589d74273c81316b39afacd9.tar.gz reilua-enhanced-aa03fffcb32e4a04589d74273c81316b39afacd9.tar.bz2 reilua-enhanced-aa03fffcb32e4a04589d74273c81316b39afacd9.zip | |
Raygui textures with SetShapesTexture.
Diffstat (limited to 'src/state.c')
| -rw-r--r-- | src/state.c | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |
