diff --git a/src/Magnum/Platform/WindowlessEglApplication.h b/src/Magnum/Platform/WindowlessEglApplication.h index fc10449bb..6b747c3d5 100644 --- a/src/Magnum/Platform/WindowlessEglApplication.h +++ b/src/Magnum/Platform/WindowlessEglApplication.h @@ -163,9 +163,10 @@ class WindowlessEglContext { bool _sharedContext = false; #endif #ifdef CORRADE_TARGET_WINDOWS - /* It's a HWND, which is HANDLE, which is PVOID, which is void*. FFS - Windows you're really mad with the typedefs. */ - void* _window{}; + /* This used to be a void* "to not have to include ", but + since EGL/eglplatform.h already does that, there's no reason not to + use it. void* was also apparently incorrect. */ + HWND _window{}; #endif EGLDisplay _display{}; EGLContext _context{};