diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-03-24 14:24:14 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-03-24 14:24:14 +0300 |
commit | 467d824f805ab88bad63a6cef3e57113ba5a3b2b (patch) | |
tree | 1f4cf8496c240cfc9b485b694014293f6b945024 /source/blender/gpu/intern | |
parent | e32710d2d749b7060befb2d31fd70f127f90dc48 (diff) |
Fix T50238: Cycles: difference in texture position between OpenGL and Cycles render
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r-- | source/blender/gpu/intern/gpu_codegen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c index 211394e7932..c3896fbd659 100644 --- a/source/blender/gpu/intern/gpu_codegen.c +++ b/source/blender/gpu/intern/gpu_codegen.c @@ -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 |