mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Replaced GLFWGLOBAL and _init_c_ with extern.
This commit is contained in:
+17
-1
@@ -28,13 +28,29 @@
|
||||
//
|
||||
//========================================================================
|
||||
|
||||
#define _init_c_
|
||||
#include "internal.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
////// GLFW internal API //////
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//========================================================================
|
||||
// Platform independent global state shared between compilation units
|
||||
//========================================================================
|
||||
|
||||
// Flag indicating whether GLFW has been initialized
|
||||
GLboolean _glfwInitialized = GL_FALSE;
|
||||
|
||||
// All global data protected by _glfwInitialized
|
||||
// This data should only be touched after a call to glfwInit that has
|
||||
// not been followed by a call to glfwTerminate
|
||||
_GLFWlibrary _glfwLibrary;
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
////// GLFW public API //////
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user