fix some setup
This commit is contained in:
@@ -29,6 +29,18 @@ namespace VE
|
||||
set_hint();
|
||||
set_window();
|
||||
set_graphic_context();
|
||||
|
||||
|
||||
unsigned char pixels[9 * 9 * 4];
|
||||
memset(pixels, 0xff, sizeof(pixels));
|
||||
GLFWimage image;
|
||||
image.width = 9;
|
||||
image.height = 9;
|
||||
image.pixels = pixels;
|
||||
GLFWcursor* cursor = glfwCreateCursor(&image, 0, 0);
|
||||
glfwSetCursor(m_win, cursor);
|
||||
|
||||
|
||||
set_pointer();
|
||||
set_key_callback();
|
||||
set_mouse_callback();
|
||||
|
||||
Reference in New Issue
Block a user