cogl-program: Don't use separate definitions on GLES 1.1
authorNeil Roberts <neil@linux.intel.com>
Mon, 17 Jan 2011 12:21:33 +0000 (12:21 +0000)
committerNeil Roberts <neil@linux.intel.com>
Mon, 17 Jan 2011 12:56:58 +0000 (12:56 +0000)
commitae9781e5266464314fda19ab8495e9824edbcdfb
treeea5ce4d08ef4c462db910c05e28e4b288fb49bbd
parentb7677d047df6b8c96605454717873bbcb1722763
cogl-program: Don't use separate definitions on GLES 1.1

Previously most of the code for cogl-program and cogl-shader was
ifdef'd out for GLES 1.1 and alternate stub definitions were
defined. This patch removes those and instead puts #ifdef's directly
in the functions that need it. This should make it a little bit easier
to maintain.

http://bugzilla.clutter-project.org/show_bug.cgi?id=2516
clutter/cogl/cogl/cogl-program.c
clutter/cogl/cogl/cogl-shader.c