diff options
Diffstat (limited to 'guilib/Texture.cpp')
-rw-r--r-- | guilib/Texture.cpp | 4 |
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; |