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:
authorCampbell Barton <ideasman42@gmail.com>2018-06-25 13:02:57 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-25 13:06:51 +0300
commit29c106924408a508b2f37af9e09d9eb46adc6fad (patch)
tree1858cfeb59d259a434da39848ee130ae8aa63627 /source/blender/gpu/intern/gpu_texture.c
parent7a4d5b78ea061196f7bf1550928680e9f094e38b (diff)
Cleanup: code style
Diffstat (limited to 'source/blender/gpu/intern/gpu_texture.c')
-rw-r--r--source/blender/gpu/intern/gpu_texture.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/gpu/intern/gpu_texture.c b/source/blender/gpu/intern/gpu_texture.c
index 6fa2a39bf03..21a3aee5f57 100644
--- a/source/blender/gpu/intern/gpu_texture.c
+++ b/source/blender/gpu/intern/gpu_texture.c
@@ -924,7 +924,7 @@ void GPU_texture_update_sub(
break;
default:
BLI_assert(!"tex->target mode not supported");
- }
+ }
if (tex->bytesize == 1) {
glPixelStorei(GL_UNPACK_ALIGNMENT, alignment);
@@ -1273,8 +1273,7 @@ void GPU_blend(bool enable)
static GLenum gpu_get_gl_blendfunction(GPUBlendFunction blend)
{
- switch (blend)
- {
+ switch (blend) {
case GPU_ONE:
return GL_ONE;
case GPU_SRC_ALPHA: