[Scummvm-git-logs] scummvm master -> 23708828e27ef74da52f9b8fc037d4f7ed45939b

neuromancer noreply at scummvm.org
Fri Nov 24 10:39:38 UTC 2023


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:
23708828e2 FREESCAPE: remove useless glVertexPointer


Commit: 23708828e27ef74da52f9b8fc037d4f7ed45939b
    https://github.com/scummvm/scummvm/commit/23708828e27ef74da52f9b8fc037d4f7ed45939b
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2023-11-24T11:34:23+01:00

Commit Message:
FREESCAPE: remove useless glVertexPointer

Changed paths:
    engines/freescape/gfx_opengl_shaders.cpp


diff --git a/engines/freescape/gfx_opengl_shaders.cpp b/engines/freescape/gfx_opengl_shaders.cpp
index b8d91488a49..c10c78ccffc 100644
--- a/engines/freescape/gfx_opengl_shaders.cpp
+++ b/engines/freescape/gfx_opengl_shaders.cpp
@@ -175,7 +175,6 @@ void OpenGLShaderRenderer::renderSensorShoot(byte color, const Math::Vector3d se
 	glBufferData(GL_ARRAY_BUFFER, 8 * 3 * sizeof(float), _verts, GL_DYNAMIC_DRAW);
 	glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 3 * sizeof(float), nullptr);
 
-	glVertexPointer(3, GL_FLOAT, 0, _verts);
 	glDrawArrays(GL_LINES, 0, 2);
 	glDisableClientState(GL_VERTEX_ARRAY);
 	glLineWidth(1);




More information about the Scummvm-git-logs mailing list