From 7e73f0d4232338741e2dc811cdb2039287f384bb Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Thu, 13 Jan 2011 15:36:08 +0000 Subject: [PATCH] cogl: Enable the VBOs feature for GLES2 The GLES2 wrapper code has been removed so there are no longer any problems with enabling VBOs. --- clutter/cogl/cogl/driver/gles/cogl-gles.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/clutter/cogl/cogl/driver/gles/cogl-gles.c b/clutter/cogl/cogl/driver/gles/cogl-gles.c index 8960f869a..ad3d397ba 100644 --- a/clutter/cogl/cogl/driver/gles/cogl-gles.c +++ b/clutter/cogl/cogl/driver/gles/cogl-gles.c @@ -109,12 +109,7 @@ _cogl_features_init (void) flags |= COGL_FEATURE_TEXTURE_NPOT_BASIC; #endif - /* FIXME: HACK: We are in the process of overhauling the GLES 2 backend - * and consolidating with a CoglMaterial GLSL backend. Currently though - * use of CoglBuffers with GLES 2 is broken. */ -#ifndef HAVE_COGL_GLES2 flags |= COGL_FEATURE_VBOS; -#endif /* Both GLES 1.1 and GLES 2.0 support point sprites in core */ flags |= COGL_FEATURE_POINT_SPRITE;