wined3d: Remove variable blue_shift which is not really used from IWineGDISurfaceImpl_SaveSnapshot. (RESEND)
Gerald Pfeifer
gerald at pfeifer.com
Tue May 4 17:24:14 CDT 2010
I didn't see any response, directly or on wine-devel, so I assume
this one just fell through the cracks; thus resending (now in git
format-patch format and proper Subject).
Gerald
---
dlls/wined3d/surface_gdi.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/surface_gdi.c b/dlls/wined3d/surface_gdi.c
index a648cde..d141057 100644
--- a/dlls/wined3d/surface_gdi.c
+++ b/dlls/wined3d/surface_gdi.c
@@ -341,13 +341,12 @@ const char* filename)
fwrite(output, 3 * This->pow2Width, 1, f);
}
} else {
- int red_shift, green_shift, blue_shift, pix_width, alpha_shift;
+ int red_shift, green_shift, pix_width, alpha_shift;
pix_width = format_desc->byte_count;
red_shift = get_shift(format_desc->red_mask);
green_shift = get_shift(format_desc->green_mask);
- blue_shift = get_shift(format_desc->blue_mask);
alpha_shift = get_shift(format_desc->alpha_mask);
for (y = 0; y < This->pow2Height; y++) {
--
1.6.6.2
More information about the wine-patches
mailing list