From 5ff45ac97798ef030f24024e176fa495a958340c Mon Sep 17 00:00:00 2001 From: offtkp Date: Tue, 24 Oct 2023 18:34:27 +0300 Subject: [PATCH] destroyContext function stub --- src/hydra_core.cpp | 3 +++ third_party/hydra_core | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/hydra_core.cpp b/src/hydra_core.cpp index 67ea48b45..776da051c 100644 --- a/src/hydra_core.cpp +++ b/src/hydra_core.cpp @@ -19,6 +19,7 @@ class HC_GLOBAL HydraCore final : public hydra::IBase, public hydra::IOpenGlRend // IOpenGlRendered void resetContext() override; + void destroyContext() override; void setFbo(unsigned handle) override; void setGetProcAddress(void* function) override; @@ -101,6 +102,8 @@ void HydraCore::resetContext() { emulator->initGraphicsContext(nullptr); } +void HydraCore::destroyContext() {} + void HydraCore::setFbo(unsigned handle) { renderer->setFBO(handle); } void HydraCore::setGetProcAddress(void* function) { getProcAddress = function; } diff --git a/third_party/hydra_core b/third_party/hydra_core index 28311efe6..1cdb1eda5 160000 --- a/third_party/hydra_core +++ b/third_party/hydra_core @@ -1 +1 @@ -Subproject commit 28311efe6e96af0b192f07179fe87dadab479041 +Subproject commit 1cdb1eda5f368481e216416a119c85664e8c72ab