mutter/cogl/driver/gl
Robert Bragg de7416fd1d driver-gl: re-indent misleading if-else statement
There was a very, very, very misleading if else statement using no
braces for a single statement if block, followed by a blank line *and*
followed by a comment before the else which was aligned to the 'if'
column, all leading you to believe on first glance that there is no else
block. The fact that Neil and I were both separately mislead by this,
this week, is a pretty compelling reason to clarify this by deleting the
blank line, and moving the comment inside the else block.

Reviewed-by: Neil Roberts <neil@linux.intel.com>

(cherry picked from commit 96d9ea78eb56269c0de5283a5302ab095d8bdfce)
2013-01-22 17:48:01 +00:00
..
gl driver-gl: re-indent misleading if-else statement 2013-01-22 17:48:01 +00:00
gles check the glsl version during init 2013-01-22 17:48:01 +00:00
cogl-attribute-gl-private.h buffer: splits out GL specific code 2013-01-22 17:47:59 +00:00
cogl-attribute-gl.c Unify a lot of gles2 vs gl glsl code 2013-01-22 17:48:01 +00:00
cogl-buffer-gl-private.h buffer: splits out GL specific code 2013-01-22 17:47:59 +00:00
cogl-buffer-gl.c buffer: splits out GL specific code 2013-01-22 17:47:59 +00:00
cogl-clip-stack-gl-private.h clip-stack: Splits out opengl specific code 2013-01-22 17:47:59 +00:00
cogl-clip-stack-gl.c clip-stack: Splits out opengl specific code 2013-01-22 17:47:59 +00:00
cogl-framebuffer-gl-private.h Adds CoglError api 2013-01-22 17:47:39 +00:00
cogl-framebuffer-gl.c buffer: splits out GL specific code 2013-01-22 17:47:59 +00:00
cogl-pipeline-fragend-fixed-private.h Re-organize the source layout 2013-01-22 17:47:19 +00:00
cogl-pipeline-fragend-fixed.c Clearly define 3 progends that own the frag+vertends 2013-01-22 17:48:00 +00:00
cogl-pipeline-fragend-glsl-private.h Re-organize the source layout 2013-01-22 17:47:19 +00:00
cogl-pipeline-fragend-glsl.c Unify a lot of gles2 vs gl glsl code 2013-01-22 17:48:01 +00:00
cogl-pipeline-opengl-private.h Re-organize the source layout 2013-01-22 17:47:19 +00:00
cogl-pipeline-opengl.c Unify a lot of gles2 vs gl glsl code 2013-01-22 17:48:01 +00:00
cogl-pipeline-progend-fixed-private.h Re-organize the source layout 2013-01-22 17:47:19 +00:00
cogl-pipeline-progend-fixed.c Clearly define 3 progends that own the frag+vertends 2013-01-22 17:48:00 +00:00
cogl-pipeline-progend-glsl-private.h Re-organize the source layout 2013-01-22 17:47:19 +00:00
cogl-pipeline-progend-glsl.c Unify a lot of gles2 vs gl glsl code 2013-01-22 17:48:01 +00:00
cogl-pipeline-vertend-fixed-private.h Re-organize the source layout 2013-01-22 17:47:19 +00:00
cogl-pipeline-vertend-fixed.c Clearly define 3 progends that own the frag+vertends 2013-01-22 17:48:00 +00:00
cogl-pipeline-vertend-glsl-private.h Re-organize the source layout 2013-01-22 17:47:19 +00:00
cogl-pipeline-vertend-glsl.c Unify a lot of gles2 vs gl glsl code 2013-01-22 17:48:01 +00:00
cogl-texture-2d-gl-private.h Fix a warning in the vtable for texture_2d_get_data 2013-01-22 17:48:00 +00:00
cogl-texture-2d-gl.c Fix a warning in the vtable for texture_2d_get_data 2013-01-22 17:48:00 +00:00