diff options
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 |
commit | 03a1b0116b115c214c16fa1a02a46999312fd0f2 (patch) | |
tree | eeceaccdf88d14dce6be2150ccd0cdb8d8d9849d /opengl/libagl/array.cpp | |
parent | 4d63fb113b542f0474c16d8f2c8a1240b44f0ca2 (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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libagl/array.cpp b/opengl/libagl/array.cpp index cffe880edd0d..f414ee5f7c3a 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 |