From ec43470dff035b834ec797737f12d49bade19a6a Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Wed, 6 Sep 2023 11:49:58 +0800 Subject: GL_EXT_draw's can be used for transform feedback --- indra/llrender/llgl.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'indra/llrender') 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 -- cgit v1.2.3