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>2013-04-13 04:43:49 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-13 04:43:49 +0400
commit2f9b7410dc712961f5684e4892660167c693cda8 (patch)
tree8898f0650969eba414f105fcf7edba10627a2968 /source/blender/editors/screen/glutil.c
parent7cf1d86e4adc4893485e34229ccbc0537931c929 (diff)
code cleanup: warnings + style
Diffstat (limited to 'source/blender/editors/screen/glutil.c')
-rw-r--r--source/blender/editors/screen/glutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c
index dd8c5fab0c6..932ff9b4887 100644
--- a/source/blender/editors/screen/glutil.c
+++ b/source/blender/editors/screen/glutil.c
@@ -1043,10 +1043,10 @@ void glaDrawImBuf_glsl(ImBuf *ibuf, float x, float y, int zoomfilter,
return;
/* Dithering is not supported on GLSL yet */
- force_fallback = ibuf->dither != 0.0f;
+ // force_fallback = ibuf->dither != 0.0f;
/* Single channel images could not be transformed using GLSL yet */
- force_fallback = ibuf->channels == 1;
+ // force_fallback = ibuf->channels == 1;
/* If user decided not to use GLSL, fallback to glaDrawPixelsAuto */
force_fallback = !ELEM(U.image_draw_method,