[Scummvm-git-logs] scummvm master -> ee73b9e950a82d3ee3e48d80c0fe8fce80352fd1

lephilousophe noreply at scummvm.org
Sat Apr 16 13:12:03 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:
ee73b9e950 PLAYGROUND3D: Remove now useless glBindBuffer


Commit: ee73b9e950a82d3ee3e48d80c0fe8fce80352fd1
    https://github.com/scummvm/scummvm/commit/ee73b9e950a82d3ee3e48d80c0fe8fce80352fd1
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2022-04-16T15:11:46+02:00

Commit Message:
PLAYGROUND3D: Remove now useless glBindBuffer

This function is not available in old OpenGL.

Changed paths:
    engines/playground3d/gfx_opengl.cpp


diff --git a/engines/playground3d/gfx_opengl.cpp b/engines/playground3d/gfx_opengl.cpp
index 6bc1d6be2ce..8c2b23e4b0a 100644
--- a/engines/playground3d/gfx_opengl.cpp
+++ b/engines/playground3d/gfx_opengl.cpp
@@ -80,11 +80,6 @@ void OpenGLRenderer::init() {
 
 	computeScreenViewport();
 
-#if defined(USE_OPENGL_SHADERS)
-	// The ShaderSurfaceRenderer sets an array buffer which conflict with fixed pipeline rendering
-	glBindBuffer(GL_ARRAY_BUFFER, 0);
-#endif // defined(USE_OPENGL_SHADERS)
-
 	glMatrixMode(GL_PROJECTION);
 	glLoadIdentity();
 




More information about the Scummvm-git-logs mailing list