Commit: 7e34846176f3719fb9e03243a06aef40a2c29e5b
Author: Clément Foucault
Date:   Tue Jul 9 12:46:20 2019 +0200
Branches: master
https://developer.blender.org/rB7e34846176f3719fb9e03243a06aef40a2c29e5b

Cleanup: GPU: Correct comment

===================================================================

M       source/blender/gpu/intern/gpu_texture.c

===================================================================

diff --git a/source/blender/gpu/intern/gpu_texture.c 
b/source/blender/gpu/intern/gpu_texture.c
index 364bfc80505..dab17fcd72a 100644
--- a/source/blender/gpu/intern/gpu_texture.c
+++ b/source/blender/gpu/intern/gpu_texture.c
@@ -1460,7 +1460,7 @@ void *GPU_texture_read(GPUTexture *tex, eGPUDataFormat 
gpu_data_format, int mipl
       break;
   }
 
-  /* AMD Pro driver have a bug that write 2 bytes past buffer size
+  /* AMD Pro driver have a bug that write 8 bytes past buffer size
    * if the texture is big. (see T66573) */
   void *buf = MEM_mallocN(buf_size + 8, "GPU_texture_read");

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to