wglMakeCurrent
wglMakeCurrent is a Windows-specific function in the WGL API that binds an OpenGL rendering context to a device context for the calling thread. It allows subsequent OpenGL commands issued by that thread to render to the specified device context using the specified rendering context. The function is typically declared as BOOL wglMakeCurrent(HDC hdc, HGLRC hglrc); and returns a nonzero value on success or zero on failure.
When both hdc and hglrc are non-NULL, wglMakeCurrent binds the given rendering context to the given device
Usage in a typical OpenGL flow involves obtaining a device context, selecting a suitable pixel format, creating
Important considerations include thread ownership: a GL context may be current on only one thread at a