[PATCH 1/7] wined3d: Restore the pixel format of the window whose pixel format was actually changed. (try 2)

Ken Thomases ken at codeweavers.com
Fri Feb 14 20:45:01 CST 2014


On Feb 14, 2014, at 11:52 AM, Henri Verbeet wrote:

> On 14 February 2014 00:31, Ken Thomases <ken at codeweavers.com> wrote:
>> -static void context_restore_gl_context(const struct wined3d_gl_info *gl_info, HDC dc, HGLRC gl_ctx, int pf)
>> +static void context_restore_gl_context(const struct wined3d_gl_info *gl_info, HDC dc, HGLRC gl_ctx)
> This doesn't need "gl_info" either anymore now. It's also a bit
> questionable if context_restore_gl_context() has much of a purpose at
> all anymore, it's pretty much just a wglMakeCurrent() call, and has
> only two callers.

When I implement WGL_WINE_make_current, it will be more complicated again and will need gl_info to check if the extension is supported.  (I actually already have that implemented locally.  I've been waiting for this pixel format stuff to clear before submitting it.)

-Ken




More information about the wine-devel mailing list