diff options
| author | Ray <[email protected]> | 2021-03-04 11:51:54 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-03-04 11:51:54 +0100 |
| commit | af3926af4b81fdd72c2b40617675f8de15fa17cc (patch) | |
| tree | 3cc87f08779a8d18058c2fb8654001f0abe7398f /examples/models/models_skybox.c | |
| parent | c8ed231eca7a602bddea5e9c4f710ab503dd4d38 (diff) | |
| download | raylib-af3926af4b81fdd72c2b40617675f8de15fa17cc.tar.gz raylib-af3926af4b81fdd72c2b40617675f8de15fa17cc.zip | |
REVIEWED: Examples to new enum values
Diffstat (limited to 'examples/models/models_skybox.c')
| -rw-r--r-- | examples/models/models_skybox.c | 4 |
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); } |
