From 8ace988b9b0bc88d4cfba7245587e8bfbba4997a Mon Sep 17 00:00:00 2001 From: logzero Date: Thu, 17 Jan 2013 13:57:26 +0100 Subject: [PATCH] GRAPHICS: Remove deprecated textureCoord2f function. --- src/graphics/aurora/textureman.cpp | 13 ------------- src/graphics/aurora/textureman.h | 1 - 2 files changed, 14 deletions(-) diff --git a/src/graphics/aurora/textureman.cpp b/src/graphics/aurora/textureman.cpp index 03b866ac3d..a2534c200a 100644 --- a/src/graphics/aurora/textureman.cpp +++ b/src/graphics/aurora/textureman.cpp @@ -374,19 +374,6 @@ void TextureManager::activeTexture(uint32 n) { glActiveTextureARB(texture[n]); } -void TextureManager::textureCoord2f(uint32 n, float u, float v) { - if (n >= ARRAYSIZE(texture)) - return; - - if (n == 0) { - glTexCoord2f(u, v); - return; - } - - if (GfxMan.supportMultipleTextures()) - glMultiTexCoord2fARB(texture[n], u, v); -} - } // End of namespace Aurora } // End of namespace Graphics diff --git a/src/graphics/aurora/textureman.h b/src/graphics/aurora/textureman.h index 42be9dcfa9..1d30058c56 100644 --- a/src/graphics/aurora/textureman.h +++ b/src/graphics/aurora/textureman.h @@ -144,7 +144,6 @@ class TextureManager : public Common::Singleton { void activeTexture(uint32 n); - void textureCoord2f(uint32 n, float u, float v); private: