diff options
Diffstat (limited to 'balls.c')
| -rw-r--r-- | balls.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 }; |