From e88035b16d88308e0604119879e078af7ac56d01 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 2 Nov 2024 18:59:53 -0400 Subject: fix typo in windows cl_context_properties config --- balls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/balls.c b/balls.c index 79d1681..8d85a89 100644 --- a/balls.c +++ b/balls.c @@ -144,7 +144,7 @@ initCL(void) { #ifdef WINDOWS cl_context_properties properties[] = { CL_GL_CONTEXT_KHR, (cl_context_properties) wglGetCurrentContext(), - CL_GLX_DISPLAY_KHR, (cl_context_properties) wglGetCurrentDC(), + CL_WGL_HDC_KHR, (cl_context_properties) wglGetCurrentDC(), CL_CONTEXT_PLATFORM, (cl_context_properties) platform, 0 }; -- cgit v1.2.3