diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2024-11-02 18:30:58 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2024-11-02 18:30:58 -0400 |
| commit | ceb086b7b54fda6ea724b92f18060536d7bc08d3 (patch) | |
| tree | 01105221dc783e2fea18b69605e4e6defc6a87dd /balls.c | |
| parent | 9ca063f42b3e5559bb9b7bc2762004ebec38451b (diff) | |
| download | balls-ceb086b7b54fda6ea724b92f18060536d7bc08d3.zip | |
fix typo in cl_context_properties for windows
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) wctlGetCurrentDC(), + CL_GLX_DISPLAY_KHR, (cl_context_properties) wglGetCurrentDC(), CL_CONTEXT_PLATFORM, (cl_context_properties) platform, 0 }; |