Fix warnings in many examples
Add examples to MSVC solution correctly
This commit is contained in:
parent
9f831428e6
commit
c46474d539
1 changed files with 1550 additions and 405 deletions
|
|
@ -40,7 +40,7 @@ int main(void)
|
|||
// Load image to create texture for the cube
|
||||
Model model = LoadModelFromMesh(GenMeshCube(1.0f, 1.0f, 1.0f));
|
||||
Image img = LoadImage("resources/cubicmap_atlas.png");
|
||||
Image crop = ImageFromImage(img, (Rectangle){0, img.height/2, img.width/2, img.height/2});
|
||||
Image crop = ImageFromImage(img, (Rectangle){0, img.height/2.0f, img.width/2.0f, img.height/2.0f});
|
||||
Texture2D texture = LoadTextureFromImage(crop);
|
||||
UnloadImage(img);
|
||||
UnloadImage(crop);
|
||||
|
|
|
|||
Loading…
Reference in a new issue