summaryrefslogtreecommitdiffstats
path: root/balls.c
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-11-02 18:30:58 -0400
committerSam Anthony <sam@samanthony.xyz>2024-11-02 18:30:58 -0400
commitceb086b7b54fda6ea724b92f18060536d7bc08d3 (patch)
tree01105221dc783e2fea18b69605e4e6defc6a87dd /balls.c
parent9ca063f42b3e5559bb9b7bc2762004ebec38451b (diff)
downloadballs-ceb086b7b54fda6ea724b92f18060536d7bc08d3.zip
fix typo in cl_context_properties for windows
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 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
};