Skip to content

Commit

Permalink
Fix GlCorePatch
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHX committed Sep 25, 2022
1 parent 71971e4 commit 73f9060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fake_looper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ void FakeLooper::initializeWindow() {
void FakeLooper::prepare() {
jniSupport->setLooperRunning(true);
initializeWindow();
associatedWindow->makeCurrent(false);
jniSupport->onWindowCreated((ANativeWindow *) (void *) associatedWindow.get(),
(AInputQueue *) (void *) &fakeInputQueue);
associatedWindowCallbacks = std::make_shared<WindowCallbacks>(*associatedWindow, *jniSupport, fakeInputQueue);
Expand All @@ -83,6 +82,7 @@ void FakeLooper::prepare() {
FakeEGL::setupGLOverrides();
SplitscreenPatch::onGLContextCreated();
ShaderErrorPatch::onGLContextCreated();
associatedWindow->makeCurrent(false);
}

FakeLooper::~FakeLooper() {
Expand Down

0 comments on commit 73f9060

Please sign in to comment.