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>2012-09-20 16:29:28 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-20 16:29:28 +0400
commitfbe13ab84ac73752258ef50110bd562ed1263e5a (patch)
treecdcc17209ae1f93f40cd09f6e4d16ee1e4044e9a /source/blender/gpu
parent8771c9e2feb70111da56ac6494fbce1f9f924713 (diff)
style cleanup
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_draw.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_draw.c b/source/blender/gpu/intern/gpu_draw.c
index 9ae505ef0d0..962bb0aed22 100644
--- a/source/blender/gpu/intern/gpu_draw.c
+++ b/source/blender/gpu/intern/gpu_draw.c
@@ -915,7 +915,8 @@ void GPU_paint_update_image(Image *ima, int x, int y, int w, int h)
* so we will be using GPU mipmap generation here */
if (GPU_get_mipmap()) {
glGenerateMipmapEXT(GL_TEXTURE_2D);
- } else {
+ }
+ else {
ima->tpageflag &= ~IMA_MIPMAP_COMPLETE;
}
@@ -942,7 +943,8 @@ void GPU_paint_update_image(Image *ima, int x, int y, int w, int h)
/* see comment above as to why we are using gpu mipmap generation here */
if (GPU_get_mipmap()) {
glGenerateMipmapEXT(GL_TEXTURE_2D);
- } else {
+ }
+ else {
ima->tpageflag &= ~IMA_MIPMAP_COMPLETE;
}
}