From 2e4df39c5bd41342b706926ec26d1864122b5168 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 26 Sep 2012 12:44:52 +0200 Subject: [PATCH] Fixed: Don't compress textures in DXTC when used as buttons --- code/ryzom/client/src/interface_v3/ctrl_button.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/ryzom/client/src/interface_v3/ctrl_button.cpp b/code/ryzom/client/src/interface_v3/ctrl_button.cpp index 0c7dd2aa5..89f102e0b 100644 --- a/code/ryzom/client/src/interface_v3/ctrl_button.cpp +++ b/code/ryzom/client/src/interface_v3/ctrl_button.cpp @@ -258,19 +258,19 @@ void CCtrlButton::updateCoords() // ---------------------------------------------------------------------------- void CCtrlButton::setTexture(const std::string&name) { - _TextureIdNormal.setTexture(name.c_str (), 0, 0, 0, 0, false); + _TextureIdNormal.setTexture(name.c_str (), 0, 0, -1, -1, false); } // ---------------------------------------------------------------------------- void CCtrlButton::setTexturePushed(const std::string&name) { - _TextureIdPushed.setTexture(name.c_str (), 0, 0, 0, 0, false); + _TextureIdPushed.setTexture(name.c_str (), 0, 0, -1, -1, false); } // ---------------------------------------------------------------------------- void CCtrlButton::setTextureOver(const std::string&name) { - _TextureIdOver.setTexture(name.c_str (), 0, 0, 0, 0, false); + _TextureIdOver.setTexture(name.c_str (), 0, 0, -1, -1, false); } // ----------------------------------------------------------------------------