diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2024-11-02 18:59:53 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2024-11-02 18:59:53 -0400 |
| commit | e88035b16d88308e0604119879e078af7ac56d01 (patch) | |
| tree | 22a2ae43a4f32d603cbb9f2ea48b5cadd5b5a6b8 /balls.c | |
| parent | 2dcb068f244969bd49ebcbfb3ce9d5c4b8af7ce7 (diff) | |
| download | balls-e88035b16d88308e0604119879e078af7ac56d01.zip | |
fix typo in windows cl_context_properties config
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 }; |