Dont shadow the glfw global mouse state variable

This commit is contained in:
Kovid Goyal
2017-09-25 22:00:00 +05:30
parent af971af4ca
commit 9cfc19e010
4 changed files with 5 additions and 8 deletions
-1
View File
@@ -287,7 +287,6 @@ init_state(PyObject *module) {
global_state.application_focused = true;
global_state.cursor_blink_zero_time = now;
global_state.last_mouse_activity_at = now;
global_state.mouse_visible = true;
global_state.cell_width = 1; global_state.cell_height = 1;
if (PyModule_AddFunctions(module, module_methods) != 0) return false;
return true;