#include <glib/gprintf.h>
#include <string.h>
-#ifdef HAVE_COGL_GLES2
-#include "../gles/cogl-gles2-wrapper.h"
-#endif
-
const CoglPipelineBackend _cogl_pipeline_fixed_backend;
static int
GE (glDisable (GL_FOG));
}
-#ifdef HAVE_COGL_GLES2
- /* Let the GLES2 backend know that we're not using a user shader
- anymore. This is a massive hack but it will go away once the GLSL
- backend replaces the GLES2 wrapper */
- _cogl_gles2_use_program (0);
-#endif
-
return TRUE;
}
#define COGL_PIPELINE_BACKEND_GLSL 0
#define COGL_PIPELINE_BACKEND_GLSL_MASK (1L<<0)
-#define COGL_PIPELINE_BACKEND_FIXED 1
-#define COGL_PIPELINE_BACKEND_FIXED_MASK (1L<<1)
-#define COGL_PIPELINE_N_BACKENDS 2
+#define COGL_PIPELINE_N_BACKENDS 1
#else /* HAVE_COGL_GLES */
* code in response to a pipeline change therefore we don't want to
* try searching for another backend when the pipeline changes.
*/
+#ifdef COGL_PIPELINE_BACKEND_FIXED
if (pipeline->backend == COGL_PIPELINE_BACKEND_FIXED)
_cogl_pipeline_set_backend (pipeline, COGL_PIPELINE_BACKEND_UNDEFINED);
+#endif
if (pipeline->backend != COGL_PIPELINE_BACKEND_UNDEFINED &&
_cogl_pipeline_backends[pipeline->backend]->pipeline_pre_change_notify)