Alexandre Julliard : winex11: Get the current pixel format from the drawable structure in wglCreateContextAttribsARB .