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

aquadran noreply at scummvm.org
Sat Dec 4 12:58:07 UTC 2021


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:
fef3409a5c PLAYGROUND3D: Enable commented code - texture removal


Commit: fef3409a5cee33002e87ee2bdc8c4d8e29c6ebeb
    https://github.com/scummvm/scummvm/commit/fef3409a5cee33002e87ee2bdc8c4d8e29c6ebeb
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2021-12-04T13:58:00+01:00

Commit Message:
PLAYGROUND3D: Enable commented code - texture removal

Changed paths:
    engines/playground3d/gfx_tinygl.cpp


diff --git a/engines/playground3d/gfx_tinygl.cpp b/engines/playground3d/gfx_tinygl.cpp
index 6200a8f2c1..fea2c7814c 100644
--- a/engines/playground3d/gfx_tinygl.cpp
+++ b/engines/playground3d/gfx_tinygl.cpp
@@ -109,11 +109,11 @@ void TinyGLRenderer::init() {
 }
 
 void TinyGLRenderer::deinit() {
-	//tglDeleteTextures(5, _textureRgbaId);
-	//tglDeleteTextures(5, _textureRgbId);
-	//tglDeleteTextures(2, _textureRgb565Id);
-	//tglDeleteTextures(2, _textureRgba5551Id);
-	//tglDeleteTextures(2, _textureRgba4444Id);
+	tglDeleteTextures(5, _textureRgbaId);
+	tglDeleteTextures(5, _textureRgbId);
+	tglDeleteTextures(2, _textureRgb565Id);
+	tglDeleteTextures(2, _textureRgba5551Id);
+	tglDeleteTextures(2, _textureRgba4444Id);
 }
 
 void TinyGLRenderer::loadTextureRGBA(Graphics::Surface *texture) {




More information about the Scummvm-git-logs mailing list