Skip to content
Browse files

[gles] fix compiler warning

  • Loading branch information...
1 parent ff3cc00 commit 5dc103016f8576f7c856937b08f0153847f62517 @davilla davilla committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp
View
2 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]);
}

0 comments on commit 5dc1030

Please sign in to comment.
Something went wrong with that request. Please try again.