summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--balls.c2
1 files changed, 1 insertions, 1 deletions
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
};