ref: 35bf490f0d0b5b1ca5000aaa0ea1ccfd05f17926
parent: baf88b0d4b24d456ef92f0bdc92c96235ed757cd
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sun Sep 27 13:51:16 EDT 2020
Fix GLFW3 build error Great API...
--- a/src/Backends/Platform/GLFW3.cpp
+++ b/src/Backends/Platform/GLFW3.cpp
@@ -231,7 +231,7 @@
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);
if (cursor != NULL)