mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #109299 from BlueCube3310/compat-cube-fix
Compatibility: Fix cubemap faces order when setting texture data
This commit is contained in:
commit
747722d639
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