Update models_skybox.c

This commit is contained in:
raysan5 2020-09-23 14:18:15 +02:00
parent 032b2db398
commit 4a97a5c63a

View File

@ -86,7 +86,7 @@ int main(void)
TextCopy(panoFileName, droppedFiles[0]);
// Generate cubemap from panorama texture
skybox.materials[0].maps[MAP_CUBEMAP].texture = GenTextureCubemap(shdrCubemap, panorama, 1024);
skybox.materials[0].maps[MAP_CUBEMAP].texture = GenTextureCubemap(shdrCubemap, panorama, 1024, UNCOMPRESSED_R8G8B8A8);
UnloadTexture(panorama);
}
}