Don't reset Qt's OpenGL state
We're using a different EGL context for SDL, so it's unnecessary.
This commit is contained in:
parent
cb6d770b92
commit
d40999ce06
1 changed files with 0 additions and 7 deletions
|
|
@ -2342,13 +2342,6 @@ DispatchDeferredCleanup:
|
||||||
|
|
||||||
SDL_QuitSubSystem(SDL_INIT_VIDEO);
|
SDL_QuitSubSystem(SDL_INIT_VIDEO);
|
||||||
|
|
||||||
// Reset this thread's OpenGL state back to what Qt expects
|
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
|
||||||
QQuickOpenGLUtils::resetOpenGLState();
|
|
||||||
#else
|
|
||||||
m_QtWindow->resetOpenGLState();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Cleanup can take a while, so dispatch it to a worker thread.
|
// Cleanup can take a while, so dispatch it to a worker thread.
|
||||||
// When it is complete, it will release our s_ActiveSessionSemaphore
|
// When it is complete, it will release our s_ActiveSessionSemaphore
|
||||||
// reference.
|
// reference.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue