Use more GLFWbool

This commit is contained in:
Camilla Berglund
2015-12-10 17:10:05 +01:00
parent 2b52008405
commit 45efb935c5
12 changed files with 40 additions and 40 deletions
+4 -4
View File
@@ -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;