Commit 7e96e4cc authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

wined3d: Turn char_component and color into static constants.

parent cb03e216
......@@ -3218,8 +3218,8 @@ static void vshader_add_footer(struct shader_arb_ctx_priv *priv_ctx,
}
else if (args->clip.boolclip.clip_texcoord)
{
static const char component[4] = {'x', 'y', 'z', 'w'};
unsigned int cur_clip = 0;
char component[4] = {'x', 'y', 'z', 'w'};
const char *zero = arb_get_helper_value(WINED3D_SHADER_TYPE_VERTEX, ARB_ZERO);
for (i = 0; i < gl_info->limits.clipplanes; ++i)
......
......@@ -679,7 +679,7 @@ static void create_dummy_textures(struct wined3d_device *device, struct wined3d_
count = min(MAX_COMBINED_SAMPLERS, gl_info->limits.combined_samplers);
for (i = 0; i < count; ++i)
{
DWORD color = 0x000000ff;
static const DWORD color = 0x000000ff;
/* Make appropriate texture active */
context_active_texture(context, gl_info, i);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment