aboutsummaryrefslogtreecommitdiff
path: root/guilib/Texture.cpp
diff options
context:
space:
mode:
authorspiff_ <spiff_@svn>2010-01-08 23:47:11 +0000
committerspiff_ <spiff_@svn>2010-01-08 23:47:11 +0000
commitd5c23e36410e2570b1089da505acb2b69d53262a (patch)
treee38ac6cc8d36b323a3e800bb399585a014b3ea4f /guilib/Texture.cpp
parentccea07a5a4229a0f7ebb7ff58e034820751a744a (diff)
cosmetics
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26558 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/Texture.cpp')
-rw-r--r--guilib/Texture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/guilib/Texture.cpp b/guilib/Texture.cpp
index f686d21f79..9b3f8ca131 100644
--- a/guilib/Texture.cpp
+++ b/guilib/Texture.cpp
@@ -79,7 +79,7 @@ void CBaseTexture::Allocate(unsigned int width, unsigned int height, unsigned in
m_pixels = new unsigned char[GetPitch() * GetRows()];
}
-void CBaseTexture::Update(unsigned int width, unsigned int height, unsigned int pitch, unsigned int format, const unsigned char *pixels, bool loadToGPU)
+void CBaseTexture::Update(unsigned int width, unsigned int height, unsigned int pitch, unsigned int format, const unsigned char *pixels, bool loadToGPU)
{
if (pixels == NULL)
return;
@@ -233,7 +233,7 @@ bool CBaseTexture::LoadPaletted(unsigned int width, unsigned int height, unsigne
return true;
}
-unsigned int CBaseTexture::PadPow2(unsigned int x)
+unsigned int CBaseTexture::PadPow2(unsigned int x)
{
--x;
x |= x >> 1;