diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-26 20:04:41 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:52:14 +0100 |
commit | 1c4bf9cbfa4e4303890f73be11eb1dee88d070fe (patch) | |
tree | ae0e99ad571902a4acc9140047909f6b07f0e0e5 /src/video_core/renderer_opengl/gl_resource_manager.cpp | |
parent | gl_state: Remove framebuffer tracking (diff) | |
download | yuzu-1c4bf9cbfa4e4303890f73be11eb1dee88d070fe.tar yuzu-1c4bf9cbfa4e4303890f73be11eb1dee88d070fe.tar.gz yuzu-1c4bf9cbfa4e4303890f73be11eb1dee88d070fe.tar.bz2 yuzu-1c4bf9cbfa4e4303890f73be11eb1dee88d070fe.tar.lz yuzu-1c4bf9cbfa4e4303890f73be11eb1dee88d070fe.tar.xz yuzu-1c4bf9cbfa4e4303890f73be11eb1dee88d070fe.tar.zst yuzu-1c4bf9cbfa4e4303890f73be11eb1dee88d070fe.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_resource_manager.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_resource_manager.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_resource_manager.cpp b/src/video_core/renderer_opengl/gl_resource_manager.cpp index 21ea6fde4..404fd6556 100644 --- a/src/video_core/renderer_opengl/gl_resource_manager.cpp +++ b/src/video_core/renderer_opengl/gl_resource_manager.cpp @@ -123,7 +123,6 @@ void OGLProgram::Release() { MICROPROFILE_SCOPE(OpenGL_ResourceDeletion); glDeleteProgram(handle); - OpenGLState::GetCurState().ResetProgram(handle).Apply(); handle = 0; } @@ -141,7 +140,6 @@ void OGLPipeline::Release() { MICROPROFILE_SCOPE(OpenGL_ResourceDeletion); glDeleteProgramPipelines(1, &handle); - OpenGLState::GetCurState().ResetPipeline(handle).Apply(); handle = 0; } |