summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-09-06 11:49:58 +0800
committerErik Kundiman <erik@megapahit.org>2023-09-06 11:49:58 +0800
commitec43470dff035b834ec797737f12d49bade19a6a (patch)
treee2b7f9d30b91cff5d72c13360ab04646d507dfdf /indra/llrender
parent69805644e058f999c973cc8ef8a24f130105bbe5 (diff)
GL_EXT_draw's can be used for transform feedback
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llgl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llrender/llgl.cpp b/indra/llrender/llgl.cpp
index 8b5b77196d..216b499674 100644
--- a/indra/llrender/llgl.cpp
+++ b/indra/llrender/llgl.cpp
@@ -1083,7 +1083,11 @@ void LLGLManager::initExtensions()
#else
mHasDebugOutput = ExtensionExists("GL_KHR_debug", gGLHExts.mSysExts);
#endif
+#if GL_EXT_draw_transform_feedback
+ mHasTransformFeedback = ExtensionExists("GL_EXT_draw_transform_feedback", gGLHExts.mSysExts);
+#else
mHasTransformFeedback = mGLVersion >= 4.f ? TRUE : FALSE;
+#endif
#if !LL_DARWIN
mHasPointParameters = ExtensionExists("GL_ARB_point_parameters", gGLHExts.mSysExts);
#endif