From 426c1f4b85bfdc3ce54b4200b5c5ffbfbe121cf9 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 19 Jan 2022 14:27:58 -0500 Subject: [PATCH] opengles2: fix comment about client-side arrays. --- src/render/opengles2/SDL_render_gles2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/render/opengles2/SDL_render_gles2.c b/src/render/opengles2/SDL_render_gles2.c index 2df9d5463..1b25e7354 100644 --- a/src/render/opengles2/SDL_render_gles2.c +++ b/src/render/opengles2/SDL_render_gles2.c @@ -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