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>2020-04-17 21:28:55 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-04-17 21:28:55 +0300
commitcad1ddc1e8ed68c1727bf614efdcccc76f569029 (patch)
treefa363a5acef9249d3cd24dfdadb185527b50a342 /source/blender/gpu/intern/gpu_texture.c
parent2fc8daff10600f1b44f6a89503c0c7e0edd3d8f5 (diff)
GPU: Fix typo making RG16F use 16 bytes instead of 4
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 8858153f159..6d2d0f09a42 100644
--- a/source/blender/gpu/intern/gpu_texture.c
+++ b/source/blender/gpu/intern/gpu_texture.c
@@ -464,7 +464,7 @@ static GLenum gpu_format_to_gl_internalformat(eGPUTextureFormat format)
case GPU_RG16I:
return GL_RG16I;
case GPU_RG16F:
- return GL_RGBA32F;
+ return GL_RG16F;
case GPU_RG16:
return GL_RG16;
case GPU_R8UI: