Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[gles] fix compiler warning

  • Loading branch information...
commit 5dc103016f8576f7c856937b08f0153847f62517 1 parent ff3cc00
davilla davilla authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp
2  xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp
View
@@ -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]);
}
Please sign in to comment.
Something went wrong with that request. Please try again.