Skip to content

Commit 3ce7709

Browse files
committed
fix should_stagger_image_set due to previous merge commit
1 parent 14bcb33 commit 3ce7709

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

indra/llrender/llimagegl.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,9 @@ U32 type_width_from_pixtype(U32 pixtype)
10511051

10521052
bool should_stagger_image_set(bool compressed)
10531053
{
1054-
#if LL_DARWIN || LL_LINUX
1054+
#if LL_LINUX
1055+
return false;
1056+
#elif LL_DARWIN
10551057
return !compressed && on_main_thread() && gGLManager.mIsAMD;
10561058
#else
10571059
// glTexSubImage2D doesn't work with compressed textures on select tested Nvidia GPUs on Windows 10 -Cosmic,2023-03-08

0 commit comments

Comments
 (0)