mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-07 02:16:26 +00:00
opengles2: fix comment about client-side arrays.
This commit is contained in:
@@ -31,7 +31,8 @@
|
|||||||
/* WebGL doesn't offer client-side arrays, so use Vertex Buffer Objects
|
/* WebGL doesn't offer client-side arrays, so use Vertex Buffer Objects
|
||||||
on Emscripten, which converts GLES2 into WebGL calls.
|
on Emscripten, which converts GLES2 into WebGL calls.
|
||||||
In all other cases, attempt to use client-side arrays, as they tend to
|
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__)
|
#if defined(__EMSCRIPTEN__)
|
||||||
#define USE_VERTEX_BUFFER_OBJECTS 1
|
#define USE_VERTEX_BUFFER_OBJECTS 1
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user