From 64e7f5929ddd358ee5ffeba864f6d7922d8aa237 Mon Sep 17 00:00:00 2001 From: GPUCode <47210458+GPUCode@users.noreply.github.com> Date: Tue, 23 Aug 2022 16:48:19 +0300 Subject: [PATCH] gl_rasterizer: Fix build on MacOS --- src/video_core/renderer_opengl/gl_rasterizer.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 43159286c..c64c73158 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -144,12 +144,10 @@ RasterizerOpenGL::RasterizerOpenGL(Frontend::EmuWindow& emu_window) #ifdef __APPLE__ if (IsVendorIntel()) { - shader_program_manager = std::make_unique( - emu_window, - VideoCore::g_separable_shader_enabled ? GLAD_GL_ARB_separate_shader_objects : false); + shader_program_manager = std::make_unique(emu_window, false); } else { shader_program_manager = - std::make_unique(emu_window, GLAD_GL_ARB_separate_shader_objects); + std::make_unique(emu_window, false); } #else shader_program_manager = std::make_unique(emu_window, !GLES);