s/w OpenGL no detects and handles all any combinations of triangle fans corresponding to a rectangle
this allows fallback to faster copybit code in almost all cases.
diff --git a/opengl/libagl/array.cpp b/opengl/libagl/array.cpp
index cffe880..f414ee5 100644
--- a/opengl/libagl/array.cpp
+++ b/opengl/libagl/array.cpp
@@ -708,7 +708,7 @@
void drawPrimitivesTriangleFan(ogles_context_t* c,
GLint first, GLsizei count) {
#ifdef LIBAGL_USE_GRALLOC_COPYBITS
- if (drawTrangleFanWithCopybit(c, first, count)) {
+ if (drawTriangleFanWithCopybit(c, first, count)) {
return;
}
#endif // LIBAGL_USE_GRALLOC_COPYBITS