mutter/examples
Neil Roberts 08b0d2d63e examples: Fix the first colour in the triangle_vertices
The first vertex in the triangle vertices used in the cogl-hello
example (which were copied into a few other examples) for some reason
has a semi-transparent alpha component. However the colour needs to be
pre-multiplied and the red component was still 0xff so the colour is
effectively invalid and the transparency isn't shown. This patch just
sets the alpha component to 0xff to make it less confusing.

Reviewed-by: Robert Bragg <robert@linux.intel.com>

(cherry picked from commit 461879986ec012556b4e680b73e36d440927faaa)
2013-04-22 13:01:45 +01:00
..
android/hello examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-crate.c cogl-crate: use new _add_frame_callback api 2013-01-30 20:09:49 +00:00
cogl-gles2-context.c examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-gles2-gears.c avoid redundant idle if using FRAME_SYNC to throttle 2013-02-15 17:44:49 +00:00
cogl-hello.c examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-info.c renderer: expose CoglOutputs 2013-01-30 19:57:22 +00:00
cogl-msaa.c examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-sdl2-hello.c examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-sdl-hello.c examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-x11-foreign.c examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-x11-tfp.c Adds CoglError api 2013-01-22 17:47:39 +00:00
cogland.c examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
crate.jpg Adds another example that draws a 3D crate 2011-06-30 14:33:11 +01:00
Makefile.am cogland: Update to the Wayland 1.0 API 2013-03-22 00:13:32 +00:00