mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-04 20:12:24 -07:00
core: frontend: Refactor scope_acquire_window_context to scope_acquire_context.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#include "common/scm_rev.h"
|
||||
#include "core/core.h"
|
||||
#include "core/frontend/framebuffer_layout.h"
|
||||
#include "core/frontend/scope_acquire_window_context.h"
|
||||
#include "core/frontend/scope_acquire_context.h"
|
||||
#include "core/settings.h"
|
||||
#include "input_common/keyboard.h"
|
||||
#include "input_common/main.h"
|
||||
@@ -569,7 +569,7 @@ bool GRenderWindow::InitializeVulkan() {
|
||||
}
|
||||
|
||||
bool GRenderWindow::LoadOpenGL() {
|
||||
Core::Frontend::ScopeAcquireWindowContext acquire_context{*this};
|
||||
Core::Frontend::ScopeAcquireContext acquire_context{*this};
|
||||
if (!gladLoadGL()) {
|
||||
QMessageBox::critical(this, tr("Error while initializing OpenGL 4.3!"),
|
||||
tr("Your GPU may not support OpenGL 4.3, or you do not have the "
|
||||
|
Reference in New Issue
Block a user