1
0
Fork 0

source/Platform/Unix/X11Display.cpp: typofix.

This commit is contained in:
Henrik Hautakoski 2023-07-25 21:24:58 +02:00
parent ff5d719fcf
commit 53d8248b8c

View file

@ -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)