[fixed-to-float-patches] Fix use of glClearColor and glColor under GLES 2
authorNeil Roberts <neil@linux.intel.com>
Thu, 15 Jan 2009 18:53:52 +0000 (18:53 +0000)
committerNeil Roberts <neil@linux.intel.com>
Thu, 15 Jan 2009 19:00:55 +0000 (19:00 +0000)
commitbef099ce40b926367f4f2ab099e3022c2809b881
treeb6b0d3d42ddfa8df45a4d3bc4e69bd4a422492ff
parent4e94500a2abffd867c7118bf4a11ae877d852499
[fixed-to-float-patches] Fix use of glClearColor and glColor under GLES 2

The wrapper for glClearColor was taking fixed arguments but was given
floating point values so it ended up always setting the clear color to
black. Now that GLES 1.1 is using the floating point version, there is
no need for the wrapper so both versions now just use glClearColor
directly.

A similar problem was happening for glColor but this does still need a
wrapper because it needs to set the vertex attribute.
fixed-to-float-patches/gles-cogl-gles2-wrapper.c.0.patch
fixed-to-float-patches/gles-cogl-gles2-wrapper.h.0.patch
fixed-to-float-patches/gles-cogl.c.0.patch