Added 'VertexBuffer' abstraction. SpriteBatches are now always supported.

Also improved memory usage in SpriteBatch. (No need to retain full copy of
sprites in memory. Can read that data back later to save data from OpenGL
context destruction).
This commit is contained in:
rude
2011-08-12 11:35:14 +02:00
parent c47a7c563b
commit 480f936815
9 changed files with 621 additions and 142 deletions
@@ -774,10 +774,6 @@ namespace opengl
if (!PixelEffect::isSupported())
supported = false;
break;
case Graphics::SUPPORT_SPRITEBATCHES:
if (!SpriteBatch::isSupported())
supported = false;
break;
default:
supported = false;
}