summaryrefslogtreecommitdiffstats
path: root/balls.c
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-11-02 18:59:53 -0400
committerSam Anthony <sam@samanthony.xyz>2024-11-02 18:59:53 -0400
commite88035b16d88308e0604119879e078af7ac56d01 (patch)
tree22a2ae43a4f32d603cbb9f2ea48b5cadd5b5a6b8 /balls.c
parent2dcb068f244969bd49ebcbfb3ce9d5c4b8af7ce7 (diff)
downloadballs-e88035b16d88308e0604119879e078af7ac56d01.zip
fix typo in windows cl_context_properties config
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
};