Source code format.

This commit is contained in:
Stefan Schindler 2014-10-13 09:39:00 +02:00
parent c7549cd292
commit d17b4bad96

View File

@ -498,7 +498,7 @@ void WindowImplX11::setTitle(const String& title)
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
void WindowImplX11::setIcon(unsigned int width, unsigned int height, const Uint8* pixels) void WindowImplX11::setIcon(unsigned int width, unsigned int height, const Uint8* pixels)
{ {
// X11 wants BGRA pixels : swap red and blue channels // X11 wants BGRA pixels: swap red and blue channels
Uint8 iconPixels[width * height * 4]; Uint8 iconPixels[width * height * 4];
for (std::size_t i = 0; i < width * height; ++i) for (std::size_t i = 0; i < width * height; ++i)
{ {