mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
build: replace WIN32 => _WIN32
This commit is contained in:
@@ -1655,7 +1655,7 @@ Context& initializeContextFromGL()
|
||||
|
||||
cl_context_properties properties[] =
|
||||
{
|
||||
#if defined(WIN32) || defined(_WIN32)
|
||||
#if defined(_WIN32)
|
||||
CL_CONTEXT_PLATFORM, (cl_context_properties)platforms[i],
|
||||
CL_GL_CONTEXT_KHR, (cl_context_properties)wglGetCurrentContext(),
|
||||
CL_WGL_HDC_KHR, (cl_context_properties)wglGetCurrentDC(),
|
||||
|
||||
Reference in New Issue
Block a user