diff options
Diffstat (limited to 'src/render/Texture.cpp')
| -rw-r--r-- | src/render/Texture.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/Texture.cpp b/src/render/Texture.cpp index 9b349efb..a6e29eaf 100644 --- a/src/render/Texture.cpp +++ b/src/render/Texture.cpp @@ -156,6 +156,7 @@ void CTexture::destroyTexture() { if (m_eglImage) g_pHyprOpenGL->m_proc.eglDestroyImageKHR(g_pHyprOpenGL->m_eglDisplay, m_eglImage); m_eglImage = nullptr; + m_cachedStates.fill(std::nullopt); } void CTexture::allocate() { |
