summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2009-06-17 21:18:56 -0700
committer Mathias Agopian <mathias@google.com> 2009-06-17 21:18:56 -0700
commit6d2cad2c6c5d4355ca362e45de85b5bfcd3337c3 (patch)
treefc3498476aad4f41569540d27e08586095206cfa /opengl/libagl/array.cpp
parentcf251b9e3b54a08aa668437fe9cae08d07e333e7 (diff)
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.
Diffstat (limited to 'opengl/libagl/array.cpp')
-rw-r--r--opengl/libagl/array.cpp2
1 files changed, 1 insertions, 1 deletions
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