aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-06-11 23:00:10 +0200
committersalaaad2 <arthurdurant263@gmail.com>2022-06-11 23:00:10 +0200
commit5184e532f5c5cd5b6fba52baf5279f3efce08488 (patch)
treeaa5348dd7e6eb44c24a527f6b36c149908a379ec /src/main.cpp
parentformat (diff)
downloadyabs-5184e532f5c5cd5b6fba52baf5279f3efce08488.tar.gz
yabs-5184e532f5c5cd5b6fba52baf5279f3efce08488.tar.bz2
yabs-5184e532f5c5cd5b6fba52baf5279f3efce08488.tar.xz
yabs-5184e532f5c5cd5b6fba52baf5279f3efce08488.tar.zst
yabs-5184e532f5c5cd5b6fba52baf5279f3efce08488.zip
set clang++ and fix build issue
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
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;