summaryrefslogtreecommitdiffstats
path: root/balls.c
diff options
context:
space:
mode:
Diffstat (limited to 'balls.c')
-rw-r--r--balls.c2
1 files changed, 1 insertions, 1 deletions
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
};