[Scummvm-git-logs] scummvm master -> 570900fbfa1181840dafdc49d4b3a238f7936be8
aquadran
noreply at scummvm.org
Sat Apr 16 13:24:06 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
570900fbfa WME3D: Remove now useless glBindBuffer
Commit: 570900fbfa1181840dafdc49d4b3a238f7936be8
https://github.com/scummvm/scummvm/commit/570900fbfa1181840dafdc49d4b3a238f7936be8
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2022-04-16T15:24:01+02:00
Commit Message:
WME3D: Remove now useless glBindBuffer
Changed paths:
engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp
diff --git a/engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp b/engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp
index bd76eec176e..58e7661f054 100644
--- a/engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp
+++ b/engines/wintermute/base/gfx/opengl/base_render_opengl3d.cpp
@@ -421,12 +421,6 @@ bool BaseRenderOpenGL3D::initRenderer(int width, int height, bool windowed) {
_simpleShadow[3].u = 1.0f;
_simpleShadow[3].v = 0.0f;
- // The ShaderSurfaceRenderer sets an array buffer which appearently conflicts with us
- // Reset it!
-#if defined(USE_OPENGL_SHADERS)
- glBindBuffer(GL_ARRAY_BUFFER, 0);
-#endif // defined(USE_OPENGL_SHADERS)
-
return true;
}
More information about the Scummvm-git-logs
mailing list