From 9e30e6a14c6625a2c2f88ffba54d131e9d119fef 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 25da6753..793e3abf 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; @@ -115,6 +116,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 28311efe..1cdb1eda 160000 --- a/third_party/hydra_core +++ b/third_party/hydra_core @@ -1 +1 @@ -Subproject commit 28311efe6e96af0b192f07179fe87dadab479041 +Subproject commit 1cdb1eda5f368481e216416a119c85664e8c72ab