mutter/examples/android/hello/jni
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.mk android: Add a port of the Cogl hello world example 2011-05-17 15:24:54 +01:00
Application.mk android: Add a port of the Cogl hello world example 2011-05-17 15:24:54 +01:00
main.c examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00