Fix typo
This commit is contained in:
parent
8945ca8275
commit
bf8d824b70
1 changed files with 2 additions and 2 deletions
|
@ -196,7 +196,7 @@ void Backend_HideMouse(void)
|
||||||
|
|
||||||
void Backend_SetWindowIcon(const unsigned char *rgb_pixels, unsigned int width, unsigned int height)
|
void Backend_SetWindowIcon(const unsigned char *rgb_pixels, unsigned int width, unsigned int height)
|
||||||
{
|
{
|
||||||
// Convert to RGBA, since that's the only think GLFW3 accepts
|
// Convert to RGBA, since that's the only thing GLFW3 accepts
|
||||||
unsigned char *rgba_pixels = (unsigned char*)malloc(width * height * 4);
|
unsigned char *rgba_pixels = (unsigned char*)malloc(width * height * 4);
|
||||||
|
|
||||||
const unsigned char *rgb_pointer = rgb_pixels;
|
const unsigned char *rgb_pointer = rgb_pixels;
|
||||||
|
@ -224,7 +224,7 @@ void Backend_SetWindowIcon(const unsigned char *rgb_pixels, unsigned int width,
|
||||||
|
|
||||||
void Backend_SetCursor(const unsigned char *rgb_pixels, unsigned int width, unsigned int height)
|
void Backend_SetCursor(const unsigned char *rgb_pixels, unsigned int width, unsigned int height)
|
||||||
{
|
{
|
||||||
// Convert to RGBA, since that's the only think GLFW3 accepts
|
// Convert to RGBA, since that's the only thing GLFW3 accepts
|
||||||
unsigned char *rgba_pixels = (unsigned char*)malloc(width * height * 4);
|
unsigned char *rgba_pixels = (unsigned char*)malloc(width * height * 4);
|
||||||
|
|
||||||
const unsigned char *rgb_pointer = rgb_pixels;
|
const unsigned char *rgb_pointer = rgb_pixels;
|
||||||
|
|
Loading…
Add table
Reference in a new issue