Skip to content

Commit 06865ca

Browse files
committed
Tests: Explicitly load OpenGL32.DLL
1 parent c3b9601 commit 06865ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/wgl_common.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ make_window_and_test(int (*callback)(HDC hdc))
112112
exit(1);
113113
}
114114

115+
LoadLibrary ("OPENGL32.DLL");
116+
115117
/* create window */
116118
hwnd = CreateWindow(class_name, window_name,
117119
WS_OVERLAPPEDWINDOW | WS_CLIPCHILDREN | WS_CLIPSIBLINGS,

0 commit comments

Comments
 (0)