diff options
| author | Jonathan "Geenz" Goodman <geenz@geenzo.com> | 2026-05-22 13:12:58 -0400 |
|---|---|---|
| committer | Jonathan "Geenz" Goodman <geenz@geenzo.com> | 2026-05-22 13:12:58 -0400 |
| commit | dad44ba5d67d04a73708a9a25bbe1ddec29a6a9a (patch) | |
| tree | 427f968cbd00f778206f00302042aaa887eff655 /indra/llrender/llimagegl.cpp | |
| parent | 755c19a05053481b19e6f6febd51aedcb238db79 (diff) | |
A few OpenGL state fixes provided by Rye from the Alchemy Viewer.
Diffstat (limited to 'indra/llrender/llimagegl.cpp')
| -rw-r--r-- | indra/llrender/llimagegl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp index a1396aba20..6bcc34938c 100644 --- a/indra/llrender/llimagegl.cpp +++ b/indra/llrender/llimagegl.cpp @@ -1895,7 +1895,7 @@ bool LLImageGL::readBackRaw(S32 discard_level, LLImageRaw* imageraw, bool compre LLGLint is_compressed = 0; if (compressed_ok) { - glGetTexLevelParameteriv(mTarget, is_compressed, GL_TEXTURE_COMPRESSED, (GLint*)&is_compressed); + glGetTexLevelParameteriv(mTarget, gl_discard, GL_TEXTURE_COMPRESSED, (GLint*)&is_compressed); } //----------------------------------------------------------------------------------------------- |
