Skip to content

Commit

Permalink
OpenGL: fixed NativeMultiDraw feature detection on desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Mar 28, 2024
1 parent 35eded2 commit 16e7d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ void RenderDeviceGLImpl::InitAdapterInfo()
ENABLE_FEATURE(UniformBuffer8BitAccess, CheckExtension("GL_EXT_shader_8bit_storage"));
ENABLE_FEATURE(TextureComponentSwizzle, IsGL46OrAbove || CheckExtension("GL_ARB_texture_swizzle"));
ENABLE_FEATURE(TextureSubresourceViews, IsGL43OrAbove || CheckExtension("GL_ARB_texture_view"));
ENABLE_FEATURE(NativeMultiDraw, true);
ENABLE_FEATURE(NativeMultiDraw, IsGL46OrAbove || CheckExtension("GL_ARB_shader_draw_parameters")); // Requirements for gl_DrawID
// clang-format on

TexProps.MaxTexture1DDimension = MaxTextureSize;
Expand Down

0 comments on commit 16e7d04

Please sign in to comment.