瀏覽代碼

opengles2: fix comment about client-side arrays.

Ryan C. Gordon 3 年之前
父節點
當前提交
426c1f4b85
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/render/opengles2/SDL_render_gles2.c

+ 2 - 1
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