wined3d: Use texture2D to sample in pshader_glsl_texdp3tex().

This commit is contained in:
H. Verbeet 2007-06-21 00:00:59 +02:00 committed by Alexandre Julliard
parent bb1a13774e
commit 2e786e09bb
1 changed files with 1 additions and 1 deletions

View File

@ -1625,7 +1625,7 @@ void pshader_glsl_texdp3tex(SHADER_OPCODE_ARG* arg) {
shader_glsl_append_dst(arg->buffer, arg);
shader_glsl_get_write_mask(arg->dst, dst_mask);
shader_addline(arg->buffer, "texture1D(Psampler%u, dot(gl_TexCoord[%u].xyz, %s))%s);\n",
shader_addline(arg->buffer, "texture2D(Psampler%u, vec2(dot(gl_TexCoord[%u].xyz, %s), 0.5))%s);\n",
sampler_idx, sampler_idx, src0_param.param_str, dst_mask);
}