From 6d2cad2c6c5d4355ca362e45de85b5bfcd3337c3 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Wed, 17 Jun 2009 21:18:56 -0700 Subject: 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. --- opengl/libagl/array.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opengl/libagl/array.cpp') diff --git a/opengl/libagl/array.cpp b/opengl/libagl/array.cpp index cffe880edd..f414ee5f7c 100644 --- a/opengl/libagl/array.cpp +++ b/opengl/libagl/array.cpp @@ -708,7 +708,7 @@ void drawPrimitivesTriangleStrip(ogles_context_t* c, 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 -- cgit v1.2.3-59-g8ed1b