Some code tweaks

This commit is contained in:
raysan5 2016-01-23 13:22:13 +01:00
parent 6e9d3eb0f9
commit 08da91047e
5 changed files with 11 additions and 16 deletions

View file

@ -557,7 +557,7 @@ void DrawGizmo(Vector3 position)
// Load a 3d model (from file)
Model LoadModel(const char *fileName)
{
Model model;
Model model = { 0 };
Mesh mesh = { 0 };
// NOTE: Initialize default data for model in case loading fails, maybe a cube?