From 3c48349e9473ab62d36f6bdc268fb7272abd0b85 Mon Sep 17 00:00:00 2001 From: fgenesis Date: Fri, 25 Aug 2023 01:36:06 +0200 Subject: [PATCH] remove tiny unused things --- BBGE/Core.cpp | 5 ----- BBGE/Core.h | 1 - BBGE/Texture.cpp | 1 - 3 files changed, 7 deletions(-) diff --git a/BBGE/Core.cpp b/BBGE/Core.cpp index 958036e..259cfd8 100644 --- a/BBGE/Core.cpp +++ b/BBGE/Core.cpp @@ -1229,11 +1229,6 @@ void Core::setupRenderPositionAndScale() glTranslatef(-(cameraPos.x+cameraOffset.x), -(cameraPos.y+cameraOffset.y), -(cameraPos.z+cameraOffset.z)); } -void Core::setupGlobalResolutionScale() -{ - glScalef(globalResolutionScale.x, globalResolutionScale.y, globalResolutionScale.z); -} - void Core::setMouseConstraint(bool on) { diff --git a/BBGE/Core.h b/BBGE/Core.h index 82c1888..29509dd 100644 --- a/BBGE/Core.h +++ b/BBGE/Core.h @@ -352,7 +352,6 @@ public: DarkLayer darkLayer; void setupRenderPositionAndScale(); - void setupGlobalResolutionScale(); int particlesPaused; diff --git a/BBGE/Texture.cpp b/BBGE/Texture.cpp index b7fd003..dd5a898 100644 --- a/BBGE/Texture.cpp +++ b/BBGE/Texture.cpp @@ -96,7 +96,6 @@ void Texture::unload() } } -static const GLenum repeatLUT[] = { GL_CLAMP_TO_EDGE, GL_REPEAT }; void Texture::apply() const { glBindTexture(GL_TEXTURE_2D, gltexid);