wined3d: Fix uninitialised variable warnings.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b6968ab59d
commit
c2a20e7f59
|
@ -12781,7 +12781,7 @@ static GLuint glsl_blitter_generate_program(struct wined3d_glsl_blitter *blitter
|
|||
enum complex_fixup complex_fixup = get_complex_fixup(args->fixup);
|
||||
struct wined3d_string_buffer *buffer, *output;
|
||||
GLuint program, vshader_id, fshader_id;
|
||||
const char *tex_type, *swizzle, *ptr;
|
||||
const char *tex_type = NULL, *swizzle = NULL, *ptr;
|
||||
unsigned int i;
|
||||
GLint loc;
|
||||
|
||||
|
|
|
@ -2586,7 +2586,7 @@ static void check_fbo_compat(struct wined3d_caps_gl_ctx *ctx, struct wined3d_for
|
|||
&& format->format != GL_LUMINANCE && format->format != GL_LUMINANCE_ALPHA
|
||||
&& (format->f.red_size || format->f.alpha_size))
|
||||
{
|
||||
DWORD readback[16 * 16 * 16], color, r_range, a_range;
|
||||
DWORD readback[16 * 16 * 16], color = 0, r_range, a_range;
|
||||
BYTE r, a;
|
||||
BOOL match = TRUE;
|
||||
GLuint rb;
|
||||
|
|
Loading…
Reference in New Issue