|
|
@ -287,7 +287,7 @@ static GLFWbool isCompositionEnabled(void) |
|
|
|
|
|
|
|
|
|
|
|
// Initialize WGL
|
|
|
|
// Initialize WGL
|
|
|
|
//
|
|
|
|
//
|
|
|
|
int _glfwInitWGL(void) |
|
|
|
GLFWbool _glfwInitWGL(void) |
|
|
|
{ |
|
|
|
{ |
|
|
|
_glfw.wgl.instance = LoadLibraryA("opengl32.dll"); |
|
|
|
_glfw.wgl.instance = LoadLibraryA("opengl32.dll"); |
|
|
|
if (!_glfw.wgl.instance) |
|
|
|
if (!_glfw.wgl.instance) |
|
|
@ -327,7 +327,7 @@ void _glfwTerminateWGL(void) |
|
|
|
|
|
|
|
|
|
|
|
// Create the OpenGL or OpenGL ES context
|
|
|
|
// Create the OpenGL or OpenGL ES context
|
|
|
|
//
|
|
|
|
//
|
|
|
|
int _glfwCreateContextWGL(_GLFWwindow* window, |
|
|
|
GLFWbool _glfwCreateContextWGL(_GLFWwindow* window, |
|
|
|
const _GLFWctxconfig* ctxconfig, |
|
|
|
const _GLFWctxconfig* ctxconfig, |
|
|
|
const _GLFWfbconfig* fbconfig) |
|
|
|
const _GLFWfbconfig* fbconfig) |
|
|
|
{ |
|
|
|
{ |
|
|
|