SFML community forums
Help => Graphics => Topic started by: steveRoll on November 10, 2020, 09:06:12 am
-
I wanted to use VertexArrays to make my own tile-based drawing system, and the 'Quads' PrimitiveType seems perfect for it, because each tile is a quad. However, I saw this note in the documentation for it:
Quads | List of individual quads (deprecated, don't work with OpenGL ES)
Does that mean that it's better to not use it, or will it still be fine?
-
It's still supported on all desktop platforms, but if you plan on writing for mobile platforms, you may want to consider using two triangles instead of one quad.
-
Can I be sure that desktop platforms will keep supporting them?
-
They're not removed from OpenGL, so yes.
-
Alright, I guess I'll use Quads then. Thanks