Fix GLFW3 build error
Great API...
This commit is contained in:
parent
baf88b0d4b
commit
35bf490f0d
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ void Backend_SetWindowIcon(const unsigned char *rgb_pixels, size_t width, size_t
|
||||||
|
|
||||||
void Backend_SetCursor(const unsigned char *rgba_pixels, size_t width, size_t height)
|
void Backend_SetCursor(const unsigned char *rgba_pixels, size_t width, size_t height)
|
||||||
{
|
{
|
||||||
GLFWimage glfw_image = {(int)width, (int)height, rgba_pixels};
|
GLFWimage glfw_image = {(int)width, (int)height, (unsigned char*)rgba_pixels};
|
||||||
cursor = glfwCreateCursor(&glfw_image, 0, 0);
|
cursor = glfwCreateCursor(&glfw_image, 0, 0);
|
||||||
|
|
||||||
if (cursor != NULL)
|
if (cursor != NULL)
|
||||||
|
|
Loading…
Add table
Reference in a new issue