wined3d: Remove redundant call to context_set_pixel_format() from context_update_wind...
commit2d1e67ee6848dd6b06beee44fdc167c9de811da9
authorKen Thomases <ken@codeweavers.com>
Wed, 19 Feb 2014 22:13:48 +0000 (19 16:13 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Sat, 22 Feb 2014 14:41:42 +0000 (22 08:41 -0600)
tree2c689972d7fe678ec5d355db8262fb447f934df4
parent088dd7289cf031cec70005bb4e0d8e815699d0ed
wined3d: Remove redundant call to context_set_pixel_format() from context_update_window().

It calls context_set_gl_context() just after and that starts with a call to
context_set_pixel_format().  Also, context_update_window() didn't do the
right thing (fall back to swapchain backup DC) if context_set_pixel_format()
fails.
dlls/wined3d/context.c