diff options
author | davilla <davilla@4pi.com> | 2013-02-27 11:08:45 -0500 |
---|---|---|
committer | davilla <davilla@4pi.com> | 2013-02-27 11:20:06 -0500 |
commit | 5dc103016f8576f7c856937b08f0153847f62517 (patch) | |
tree | c8cfbb593ea2c8dfcab04bd8ab48363785728fdd | |
parent | ff3cc0020d4ec63dd0fcfd63751a016ac3e5670b (diff) |
[gles] fix compiler warning
-rw-r--r-- | xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp | 2 |
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]); } |