summaryrefslogtreecommitdiff
path: root/indra/llrender/llcubemaparray.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-03-06 09:26:21 +0800
committerErik Kundiman <erik@megapahit.org>2025-03-06 09:26:21 +0800
commit5bf93b728ca7c671b6b812e753a40dcdb55b5d0d (patch)
treeab31d87bc2436de8f3e0eeda6d2a6f34438ac6e3 /indra/llrender/llcubemaparray.cpp
parent53197ea0f31270a3094a6720b862bcaeee4851f2 (diff)
parent8c1f00eebc6863c39d0143aeb7e37c68459d454f (diff)
Merge commit '8c1f00eebc6863c39d0143aeb7e37c68459d454f' into 2025.03
Diffstat (limited to 'indra/llrender/llcubemaparray.cpp')
-rw-r--r--indra/llrender/llcubemaparray.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llcubemaparray.cpp b/indra/llrender/llcubemaparray.cpp
index 253286fb1c..9c3069e848 100644
--- a/indra/llrender/llcubemaparray.cpp
+++ b/indra/llrender/llcubemaparray.cpp
@@ -127,7 +127,7 @@ void LLCubeMapArray::allocate(U32 resolution, U32 components, U32 count, bool us
bind(0);
free_cur_tex_image();
- U32 format = components == 4 ? GL_RGBA16F : GL_RGB16F;
+ U32 format = components == 4 ? GL_RGBA16F : GL_R11F_G11F_B10F;
if (!hdr)
{
format = components == 4 ? GL_RGBA8 : GL_RGB8;