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

Henri Verbeet hverbeet at gmail.com
Fri Feb 14 11:52:43 CST 2014


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.



More information about the wine-devel mailing list