gles2: disable vbos until while we rework backend
The gles2 wrapper functions don't understand about the CoglBuffer API so they don't support attributes stored in a CoglVertexArray. Instead of teaching the backend about buffers we are going to wait until we have overhauled the GLES 2 backend. We are currently making progress consolidating the GLES 2 backend with a new GLSL backend for CoglMaterial. This will hugely simplify the GLES 2 support and share code with the OpenGL backend. In the end it's hoped that this problem will simply go away so it doesn't make much sense to solve it with the current design.
This commit is contained in:
parent
f80cb197a9
commit
61bb91a2e7
@ -105,7 +105,12 @@ _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;
|
||||
|
Loading…
Reference in New Issue
Block a user