Skip to content

Commit 0b2717d

Browse files
committed
fixed wrong constant name
- although the result is the same we should be testing with the correct constant
1 parent 98c8256 commit 0b2717d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/browser/test_glfw3_default_hints.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ int main() {
5959
TEST_GLFW3_DEFAULTS_HINTS[0x00022008] = 0;
6060
);
6161

62-
assert(glfwInit() == GL_TRUE);
62+
assert(glfwInit() == GLFW_TRUE);
6363

6464
// Use case: after glfwInit, default window hints are correct
6565
{

test/browser/test_glfw3_hi_dpi_aware.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ int main() {
6464

6565
GLFWwindow* window;
6666

67-
assert(glfwInit() == GL_TRUE);
67+
assert(glfwInit() == GLFW_TRUE);
6868

6969
installMockDevicePixelRatio();
7070

0 commit comments

Comments
 (0)