Lines Matching refs:_glfw
43 _GLFWlibrary _glfw; variable
125 memset(&_glfw, 0, sizeof(_glfw)); in glfwInit()
133 _glfw.monitors = _glfwPlatformGetMonitors(&_glfw.monitorCount); in glfwInit()
136 _glfw.timerOffset = _glfwPlatformGetTimerValue(); in glfwInit()
151 memset(&_glfw.callbacks, 0, sizeof(_glfw.callbacks)); in glfwTerminate()
153 while (_glfw.windowListHead) in glfwTerminate()
154 glfwDestroyWindow((GLFWwindow*) _glfw.windowListHead); in glfwTerminate()
156 while (_glfw.cursorListHead) in glfwTerminate()
157 glfwDestroyCursor((GLFWcursor*) _glfw.cursorListHead); in glfwTerminate()
159 for (i = 0; i < _glfw.monitorCount; i++) in glfwTerminate()
161 _GLFWmonitor* monitor = _glfw.monitors[i]; in glfwTerminate()
168 _glfwFreeMonitors(_glfw.monitors, _glfw.monitorCount); in glfwTerminate()
169 _glfw.monitors = NULL; in glfwTerminate()
170 _glfw.monitorCount = 0; in glfwTerminate()
174 memset(&_glfw, 0, sizeof(_glfw)); in glfwTerminate()