summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-12-15 18:05:01 +0100
committerGitHub <noreply@github.com>2022-12-15 18:05:01 +0100
commit3ff7a5de1a54c9f478b23de1a0bd6c6188ea80a6 (patch)
tree0d014da28cf6a8a1045cd2a7d7df8301522ea47c /src/core
parentMerge pull request #9441 from yuzu-emu/revert-9232-audio-default-thread (diff)
parentgl_device: Use a more robust way to use strict context mode (diff)
downloadyuzu-3ff7a5de1a54c9f478b23de1a0bd6c6188ea80a6.tar
yuzu-3ff7a5de1a54c9f478b23de1a0bd6c6188ea80a6.tar.gz
yuzu-3ff7a5de1a54c9f478b23de1a0bd6c6188ea80a6.tar.bz2
yuzu-3ff7a5de1a54c9f478b23de1a0bd6c6188ea80a6.tar.lz
yuzu-3ff7a5de1a54c9f478b23de1a0bd6c6188ea80a6.tar.xz
yuzu-3ff7a5de1a54c9f478b23de1a0bd6c6188ea80a6.tar.zst
yuzu-3ff7a5de1a54c9f478b23de1a0bd6c6188ea80a6.zip
Diffstat (limited to '')
-rw-r--r--src/core/frontend/emu_window.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/frontend/emu_window.h b/src/core/frontend/emu_window.h
index 95363b645..cf85ba29e 100644
--- a/src/core/frontend/emu_window.h
+++ b/src/core/frontend/emu_window.h
@@ -131,6 +131,10 @@ public:
return active_config;
}
+ bool StrictContextRequired() const {
+ return strict_context_required;
+ }
+
/**
* Requests the internal configuration to be replaced by the specified argument at some point in
* the future.
@@ -207,6 +211,8 @@ protected:
WindowSystemInfo window_info;
+ bool strict_context_required = false;
+
private:
/**
* Handler called when the minimal client area was requested to be changed via SetConfig.