source/Platform/Unix/X11Display.cpp: typofix.
This commit is contained in:
parent
ff5d719fcf
commit
53d8248b8c
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ void X11Display::setIcon(unsigned int width, unsigned int height, const uint8_t
|
|||
*ptr++ = width;
|
||||
*ptr++ = height;
|
||||
|
||||
// TODO: Conversion between differnet formats should be defined as functions in Graphics/PixelFormat.h
|
||||
// TODO: Conversion between different formats should be defined as functions in Graphics/PixelFormat.h
|
||||
for (std::size_t i = 0; i < width * height; i++) {
|
||||
*ptr++ = (pixels[i * 4 + 2] << 0)
|
||||
| (pixels[i * 4 + 1] << 8)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue