Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2019-07-09 13:46:20 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-07-09 15:34:56 +0300
commit7e34846176f3719fb9e03243a06aef40a2c29e5b (patch)
treea0fdeff06153770d98e6d178e8baf70d16fb3548 /source/blender/gpu/intern/gpu_texture.c
parentdb45aaafab8cc821b0e06a659de44f5fedbf847b (diff)
Cleanup: GPU: Correct comment
Diffstat (limited to 'source/blender/gpu/intern/gpu_texture.c')
-rw-r--r--source/blender/gpu/intern/gpu_texture.c2
1 files changed, 1 insertions, 1 deletions
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");