1c01698e88
Querying GL_INDEX_BITS and GL_DOUBLEBUFFER is not allowed in GLES, so just use a reasonable default values for both. This is only used to estimate memory consumption by the framebuffer (which is a questionable approach in itself, since all those are implementation details not exposed by the GL, and the actual memory used is likely to be higher anyway). |
||
---|---|---|
.. | ||
ogl | ||
sdl |