Fix T50238: Cycles: difference in texture position between OpenGL and Cycles render

This commit is contained in:
Sergey Sharybin 2017-03-24 12:24:14 +01:00
parent e32710d2d7
commit 467d824f80

@ -360,7 +360,7 @@ static void codegen_print_datatype(DynStr *ds, const GPUType type, float *data)
BLI_dynstr_appendf(ds, "%s(", GPU_DATATYPE_STR[type]);
for (i = 0; i < type; i++) {
BLI_dynstr_appendf(ds, "%f", data[i]);
BLI_dynstr_appendf(ds, "%.12f", data[i]);
if (i == type - 1)
BLI_dynstr_append(ds, ")");
else