aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavilla <davilla@4pi.com>2013-02-27 11:08:45 -0500
committerdavilla <davilla@4pi.com>2013-02-27 11:20:06 -0500
commit5dc103016f8576f7c856937b08f0153847f62517 (patch)
treec8cfbb593ea2c8dfcab04bd8ab48363785728fdd
parentff3cc0020d4ec63dd0fcfd63751a016ac3e5670b (diff)
[gles] fix compiler warning
-rw-r--r--xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp b/xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp
index b7be35cd77..85f44466fe 100644
--- a/xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp
+++ b/xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp
@@ -1352,7 +1352,7 @@ bool CLinuxRendererGLES::RenderCapture(CRenderCapture* capture)
// OpenGLES returns in RGBA order but CRenderCapture needs BGRA order
// XOR Swap RGBA -> BGRA
unsigned char* pixels = (unsigned char*)capture->GetRenderBuffer();
- for (int i = 0; i < capture->GetWidth() * capture->GetHeight(); i++, pixels+=4)
+ for (unsigned int i = 0; i < capture->GetWidth() * capture->GetHeight(); i++, pixels+=4)
{
std::swap(pixels[0], pixels[2]);
}