diff options
| author | Dave Parks <davep@lindenlab.com> | 2024-12-03 14:32:20 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-03 16:32:20 -0600 |
| commit | 73420f4f34976eedb4d01855a71513a4c1bd95bb (patch) | |
| tree | 9838d3f6b6c2136d9e4a6a5c4ea28114b4038b64 /indra/llrender/llgl.cpp | |
| parent | 9cc343b5ebaab50b273205f36b6604e64191caee (diff) | |
#3184 Fix for crash on some GPUs when setting quality to High or higher (#3201)
Diffstat (limited to 'indra/llrender/llgl.cpp')
| -rw-r--r-- | indra/llrender/llgl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llrender/llgl.cpp b/indra/llrender/llgl.cpp index c5c9d50dee..1bc5e79835 100644 --- a/indra/llrender/llgl.cpp +++ b/indra/llrender/llgl.cpp @@ -1259,6 +1259,7 @@ bool LLGLManager::initGL() glGetIntegerv(GL_MAX_INTEGER_SAMPLES, &mMaxIntegerSamples); glGetIntegerv(GL_MAX_SAMPLE_MASK_WORDS, &mMaxSampleMaskWords); glGetIntegerv(GL_MAX_SAMPLES, &mMaxSamples); + glGetIntegerv(GL_MAX_VARYING_VECTORS, &mMaxVaryingVectors); glGetIntegerv(GL_MAX_UNIFORM_BLOCK_SIZE, &mMaxUniformBlockSize); // sanity clamp max uniform block size to 64k just in case |
