opengles2: fix comment about client-side arrays.

This commit is contained in:
Ryan C. Gordon 2022-01-19 14:27:58 -05:00
parent b3984df1c6
commit 426c1f4b85
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,8 @@
/* WebGL doesn't offer client-side arrays, so use Vertex Buffer Objects
on Emscripten, which converts GLES2 into WebGL calls.
In all other cases, attempt to use client-side arrays, as they tend to
be faster. */
be dramatically faster when not batching, and about the same when
we are. */
#if defined(__EMSCRIPTEN__)
#define USE_VERTEX_BUFFER_OBJECTS 1
#else