summaryrefslogtreecommitdiffhomepage
path: root/examples/models/models_skybox.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/models/models_skybox.c')
-rw-r--r--examples/models/models_skybox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/models/models_skybox.c b/examples/models/models_skybox.c
index ad9c46c2..2b8b65f4 100644
--- a/examples/models/models_skybox.c
+++ b/examples/models/models_skybox.c
@@ -69,7 +69,7 @@ int main(void)
else
{
Image img = LoadImage("resources/skybox.png");
- skybox.materials[0].maps[MAP_CUBEMAP].texture = LoadTextureCubemap(img, CUBEMAP_AUTO_DETECT);
+ skybox.materials[0].maps[MAP_CUBEMAP].texture = LoadTextureCubemap(img, CUBEMAP_LAYOUT_AUTO_DETECT); // CUBEMAP_LAYOUT_PANORAMA
UnloadImage(img);
}
@@ -108,7 +108,7 @@ int main(void)
else
{
Image img = LoadImage(droppedFiles[0]);
- skybox.materials[0].maps[MAP_CUBEMAP].texture = LoadTextureCubemap(img, CUBEMAP_AUTO_DETECT);
+ skybox.materials[0].maps[MAP_CUBEMAP].texture = LoadTextureCubemap(img, CUBEMAP_LAYOUT_AUTO_DETECT);
UnloadImage(img);
}