wined3d: Use the correct color key in ARBfp color key blits.

This commit is contained in:
Stefan Dösinger 2015-08-20 10:03:32 +02:00 committed by Alexandre Julliard
parent 857d436784
commit 6626b1a51b
1 changed files with 1 additions and 1 deletions

View File

@ -7724,7 +7724,7 @@ err_out:
if (type.use_color_key)
{
wined3d_format_convert_color_to_float(surface->resource.format, NULL,
surface->container->async.src_blt_color_key.color_space_high_value, &float_color_key);
color_key->color_space_high_value, &float_color_key);
GL_EXTCALL(glProgramLocalParameter4fvARB(GL_FRAGMENT_PROGRAM_ARB,
ARBFP_BLIT_PARAM_COLOR_KEY, &float_color_key.r));
checkGLcall("glProgramLocalParameter4fvARB");