Skip to content

Commit

Permalink
destroyContext function stub
Browse files Browse the repository at this point in the history
  • Loading branch information
OFFTKP committed Oct 24, 2023
1 parent ae1f041 commit 5ff45ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/hydra_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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; }
Expand Down
2 changes: 1 addition & 1 deletion third_party/hydra_core

0 comments on commit 5ff45ac

Please sign in to comment.