From ceb086b7b54fda6ea724b92f18060536d7bc08d3 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 2 Nov 2024 18:30:58 -0400 Subject: fix typo in cl_context_properties for windows --- balls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'balls.c') diff --git a/balls.c b/balls.c index f8f95cf..763f07e 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) wctlGetCurrentDC(), + CL_GLX_DISPLAY_KHR, (cl_context_properties) wglGetCurrentDC(), CL_CONTEXT_PLATFORM, (cl_context_properties) platform, 0 }; -- cgit v1.2.3