summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
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 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