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
Notes: blender-bot 2023-02-14 09:33:11 +01:00
Referenced by issue #50238, Cycles: difference in texture position between OpenGL and Cycles render (CPU and OpenCL)
1 changed files with 1 additions and 1 deletions

View File

@ -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