On 28/05/14 20:37, Emil Velikov wrote:
>
>    window_handle = CreateWindow(...)
>    device_context = GetDC(window_handle);
> 
>    gl_rendering_context = wglCreateContext(device_context);
>    wglMakeCurrent (device_handle, gl_rendering_context);
> 
>    // any of the following
>    wglGetProcAddress(...)
>    wglChoosePixelFormat(...)
Correction wglChoosePixelFormat does not require a context. Although
wglGetProcAddress does.

-Emil


_______________________________________________
waffle mailing list
waffle@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/waffle

Reply via email to