mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 21:14:35 +00:00
Updated comments on global variables.
This commit is contained in:
parent
ae469ee614
commit
7653f3af49
@ -33,14 +33,15 @@
|
|||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
|
|
||||||
|
// The three global variables below comprise all global data in GLFW, except for
|
||||||
|
// various static const translation tables. Any other global variable is a bug.
|
||||||
|
|
||||||
// Global state shared between compilation units of GLFW
|
// Global state shared between compilation units of GLFW
|
||||||
// These are documented in internal.h
|
// These are documented in internal.h
|
||||||
//
|
//
|
||||||
GLboolean _glfwInitialized = GL_FALSE;
|
GLboolean _glfwInitialized = GL_FALSE;
|
||||||
_GLFWlibrary _glfw;
|
_GLFWlibrary _glfw;
|
||||||
|
|
||||||
|
|
||||||
// The current error callback
|
|
||||||
// This is outside of _glfw so it can be initialized and usable before
|
// This is outside of _glfw so it can be initialized and usable before
|
||||||
// glfwInit is called, which lets that function report errors
|
// glfwInit is called, which lets that function report errors
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user