Module: wine Branch: master Commit: 67b097cd6e92567d0335bc8894c87eaaca3bc5fd URL: http://source.winehq.org/git/wine.git/?a=commit;h=67b097cd6e92567d0335bc8894...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Thu Oct 13 21:43:06 2011 +0200
wined3d: Get rid of the mostly unused "pfd" variable in context_create().
---
dlls/wined3d/context.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index e44ee81..61398e6 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -1294,7 +1294,6 @@ struct wined3d_context *context_create(struct wined3d_swapchain *swapchain, const struct wined3d_gl_info *gl_info = &device->adapter->gl_info; const struct wined3d_format *color_format; struct wined3d_context *ret; - PIXELFORMATDESCRIPTOR pfd; BOOL auxBuffers = FALSE; int pixel_format; unsigned int s; @@ -1363,7 +1362,6 @@ struct wined3d_context *context_create(struct wined3d_swapchain *swapchain, goto out; }
- DescribePixelFormat(hdc, pixel_format, sizeof(pfd), &pfd); if (!context_set_pixel_format(gl_info, hdc, pixel_format)) { ERR("Failed to set pixel format %d on device context %p.\n", pixel_format, hdc);