diff options
| author | skidau <skidau@gmail.com> | 2014-12-14 14:42:07 +1100 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2014-12-14 14:42:07 +1100 |
| commit | 15f7e63cc20690f3a65100a7053821e1d935f1ac (patch) | |
| tree | 6c541ca187265e51566133aefadc426a3c364c46 /Source/Core/VideoBackends/OGL/PostProcessing.cpp | |
| parent | 45dedfcb8ea71e85b4cea43256532265362e8adb (diff) | |
| parent | 029f8c3c3f065de723a1a334f70d2882208b7cdf (diff) | |
Merge pull request #1650 from unknownbrackets/attributeless-fix
OGL: Unbind the active VAO before attributeless rendering
Diffstat (limited to 'Source/Core/VideoBackends/OGL/PostProcessing.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/PostProcessing.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/OGL/PostProcessing.cpp b/Source/Core/VideoBackends/OGL/PostProcessing.cpp index 80bdf8eef4..74fd93147b 100644 --- a/Source/Core/VideoBackends/OGL/PostProcessing.cpp +++ b/Source/Core/VideoBackends/OGL/PostProcessing.cpp @@ -72,6 +72,8 @@ void OpenGLPostProcessing::BlitFromTexture(TargetRectangle src, TargetRectangle if (m_attribute_workaround) glBindVertexArray(m_attribute_vao); + else + OpenGL_BindAttributelessVAO(); m_shader.Bind(); |
