wined3d: Use texture2D to sample in pshader_glsl_texdp3tex().
This commit is contained in:
parent
bb1a13774e
commit
2e786e09bb
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue