1
0
Fork 0

gl_rasterizer: Fix build on MacOS

This commit is contained in:
GPUCode 2022-08-23 16:48:19 +03:00 committed by GitHub
parent 12f84e18dc
commit 64e7f5929d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -144,12 +144,10 @@ RasterizerOpenGL::RasterizerOpenGL(Frontend::EmuWindow& emu_window)
#ifdef __APPLE__ #ifdef __APPLE__
if (IsVendorIntel()) { if (IsVendorIntel()) {
shader_program_manager = std::make_unique<ShaderProgramManager>( shader_program_manager = std::make_unique<ShaderProgramManager>(emu_window, false);
emu_window,
VideoCore::g_separable_shader_enabled ? GLAD_GL_ARB_separate_shader_objects : false);
} else { } else {
shader_program_manager = shader_program_manager =
std::make_unique<ShaderProgramManager>(emu_window, GLAD_GL_ARB_separate_shader_objects); std::make_unique<ShaderProgramManager>(emu_window, false);
} }
#else #else
shader_program_manager = std::make_unique<ShaderProgramManager>(emu_window, !GLES); shader_program_manager = std::make_unique<ShaderProgramManager>(emu_window, !GLES);