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-10-30 16:18:45 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-10-30 16:18:45 +0400
commitc8975c437597fbb9cabf0a117bc9f571bd17021f (patch)
treef523cc9dc4aa0bdcc17daed407ade139c50d8559 /source/blender/gpu
parent8a658d40508fd192fe463e0b82c2a813a6d22d31 (diff)
style cleanup
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_draw.c b/source/blender/gpu/intern/gpu_draw.c
index b40e19e1c9e..7bd72430969 100644
--- a/source/blender/gpu/intern/gpu_draw.c
+++ b/source/blender/gpu/intern/gpu_draw.c
@@ -620,7 +620,7 @@ int GPU_verify_image(Image *ima, ImageUser *iuser, int tftile, int compare, int
GPU_create_gl_tex(bind, rect, frect, rectw, recth, mipmap, use_high_bit_depth, ima);
/* mark as non-color data texture */
- if(*bind) {
+ if (*bind) {
if (is_data)
ima->tpageflag |= IMA_GLBIND_IS_DATA;
else
@@ -739,7 +739,7 @@ int GPU_upload_dxt_texture(ImBuf *ibuf)
return FALSE;
}
- if(!is_power_of_2_i(width) || !is_power_of_2_i(height)) {
+ if (!is_power_of_2_i(width) || !is_power_of_2_i(height)) {
printf("Unable to load non-power-of-two DXT image resolution, falling back to uncompressed\n");
return FALSE;
}