#include "internal.h"#include <string.h>#include <stdlib.h>#include <stdio.h>#include <stdarg.h>
Go to the source code of this file.
Functions | |
| void | _glfwInputError (int error, const char *format,...) |
| Notifies shared code of an error. More... | |
| static const char * | getErrorString (int error) |
| GLFWAPI void | glfwGetVersion (int *major, int *minor, int *rev) |
| Retrieves the version of the GLFW library. More... | |
| GLFWAPI const char * | glfwGetVersionString (void) |
| Returns a string describing the compile-time configuration. More... | |
| GLFWAPI int | glfwInit (void) |
| Initializes the GLFW library. More... | |
| GLFWAPI GLFWerrorfun | glfwSetErrorCallback (GLFWerrorfun cbfun) |
| Sets the error callback. More... | |
| GLFWAPI void | glfwTerminate (void) |
| Terminates the GLFW library. More... | |
Variables | |
| _GLFWlibrary | _glfw |
| All global data protected by _glfwInitialized. This should only be touched after a call to glfwInit that has not been followed by a call to glfwTerminate. More... | |
| static GLFWerrorfun | _glfwErrorCallback = NULL |
| GLboolean | _glfwInitialized = GL_FALSE |
| Flag indicating whether GLFW has been successfully initialized. More... | |
|
static |
Definition at line 53 of file examples/third_party/glfw/src/init.c.
| _GLFWlibrary _glfw |
All global data protected by _glfwInitialized. This should only be touched after a call to glfwInit that has not been followed by a call to glfwTerminate.
Definition at line 43 of file examples/third_party/glfw/src/init.c.
|
static |
Definition at line 48 of file examples/third_party/glfw/src/init.c.
| GLboolean _glfwInitialized = GL_FALSE |
Flag indicating whether GLFW has been successfully initialized.
Definition at line 42 of file examples/third_party/glfw/src/init.c.