mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 00:30:57 +00:00
Use more GLFWbool
This commit is contained in:
+4
-4
@@ -287,7 +287,7 @@ static GLFWbool isCompositionEnabled(void)
|
||||
|
||||
// Initialize WGL
|
||||
//
|
||||
int _glfwInitWGL(void)
|
||||
GLFWbool _glfwInitWGL(void)
|
||||
{
|
||||
_glfw.wgl.instance = LoadLibraryA("opengl32.dll");
|
||||
if (!_glfw.wgl.instance)
|
||||
@@ -327,9 +327,9 @@ void _glfwTerminateWGL(void)
|
||||
|
||||
// Create the OpenGL or OpenGL ES context
|
||||
//
|
||||
int _glfwCreateContextWGL(_GLFWwindow* window,
|
||||
const _GLFWctxconfig* ctxconfig,
|
||||
const _GLFWfbconfig* fbconfig)
|
||||
GLFWbool _glfwCreateContextWGL(_GLFWwindow* window,
|
||||
const _GLFWctxconfig* ctxconfig,
|
||||
const _GLFWfbconfig* fbconfig)
|
||||
{
|
||||
int attribs[40];
|
||||
int pixelFormat = 0;
|
||||
|
||||
Reference in New Issue
Block a user