diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 491e1c5..94e3f97 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -30,7 +30,7 @@ int main(void) { UnloadImage(checked); // create model with image as texture - Model model = {0}; + Model model = {}; model = LoadModelFromMesh(GenMeshCube(1.0f, 1.0f, 1.0f)); model.materials[0].maps[MATERIAL_MAP_DIFFUSE].texture = texture; |