From cc44c93fbf63fe833a42d42a512dfc74ae80ec3d Mon Sep 17 00:00:00 2001 From: Zachary Lund Date: Sun, 26 Jan 2014 01:53:59 -0600 Subject: [PATCH] Fixed missed boolean check --- libobs-opengl/gl-windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libobs-opengl/gl-windows.c b/libobs-opengl/gl-windows.c index cf973470d..2be96f414 100644 --- a/libobs-opengl/gl-windows.c +++ b/libobs-opengl/gl-windows.c @@ -237,7 +237,7 @@ static inline void required_extension_error(const char *extension) static bool gl_init_extensions(HDC hdc) { - if (wgl_LoadFunctions(hdc)) { + if (!wgl_LoadFunctions(hdc)) { blog(LOG_ERROR, "Failed to load WGL entry functions."); return false; }