mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 07:53:26 +00:00
Compatibility: Fix cubemap faces order when setting texture data
This commit is contained in:
parent
45509c284c
commit
356b1ab2a6
1 changed files with 3 additions and 3 deletions
|
@ -50,12 +50,12 @@ TextureStorage *TextureStorage::get_singleton() {
|
|||
}
|
||||
|
||||
static const GLenum _cube_side_enum[6] = {
|
||||
GL_TEXTURE_CUBE_MAP_NEGATIVE_X,
|
||||
GL_TEXTURE_CUBE_MAP_POSITIVE_X,
|
||||
GL_TEXTURE_CUBE_MAP_NEGATIVE_Y,
|
||||
GL_TEXTURE_CUBE_MAP_NEGATIVE_X,
|
||||
GL_TEXTURE_CUBE_MAP_POSITIVE_Y,
|
||||
GL_TEXTURE_CUBE_MAP_NEGATIVE_Z,
|
||||
GL_TEXTURE_CUBE_MAP_NEGATIVE_Y,
|
||||
GL_TEXTURE_CUBE_MAP_POSITIVE_Z,
|
||||
GL_TEXTURE_CUBE_MAP_NEGATIVE_Z,
|
||||
};
|
||||
|
||||
TextureStorage::TextureStorage() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue