diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-20 10:17:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-20 10:25:27 +0300 |
commit | 4fa904e91c78148ba39ac40371d7680294e225bf (patch) | |
tree | ec6c1c6f6a1263e29900bedc9e876d941cc3febf /source/blender/gpu/intern/gpu_framebuffer.c | |
parent | db5a82302cb322b24d0e0a315e6af499706e8aca (diff) |
Cleanup: use lowercase for dimensions in function names
Most API's already use this convention.
Diffstat (limited to 'source/blender/gpu/intern/gpu_framebuffer.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_framebuffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_framebuffer.c b/source/blender/gpu/intern/gpu_framebuffer.c index 461d74738c5..83acdf6a756 100644 --- a/source/blender/gpu/intern/gpu_framebuffer.c +++ b/source/blender/gpu/intern/gpu_framebuffer.c @@ -791,12 +791,12 @@ GPUOffScreen *GPU_offscreen_create(int width, int height, int samples, bool dept height = max_ii(1, height); width = max_ii(1, width); - ofs->color = GPU_texture_create_2D_multisample( + ofs->color = GPU_texture_create_2d_multisample( width, height, (high_bitdepth) ? GPU_RGBA16F : GPU_RGBA8, NULL, samples, err_out); if (depth) { - ofs->depth = GPU_texture_create_2D_multisample(width, height, GPU_DEPTH24_STENCIL8, NULL, samples, err_out); + ofs->depth = GPU_texture_create_2d_multisample(width, height, GPU_DEPTH24_STENCIL8, NULL, samples, err_out); } if ((depth && !ofs->depth) || !ofs->color) { |