1
0
Fork 0
mutter-performance-source/examples/android/hello
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
..
jni examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
res/values android: Add a port of the Cogl hello world example 2011-05-17 15:24:54 +01:00
.gitignore android: Commit the build.xml file 2011-08-12 17:22:48 +01:00
AndroidManifest.xml android: Add a port of the Cogl hello world example 2011-05-17 15:24:54 +01:00
build.xml android: Commit the build.xml file 2011-08-12 17:22:48 +01:00