mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 21:14:58 -04:00
Fixed missed boolean check
This commit is contained in:
1 parent
488c90b3d2
commit
cc44c93fbf
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user