1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated

This commit is contained in:
hogliux 2017-02-01 15:53:35 +00:00
parent 871236d4cd
commit 9f3fb1c0a6
80 changed files with 121 additions and 263 deletions

View file

@ -1133,7 +1133,7 @@ struct StateHelpers
~ShaderQuadQueue() noexcept
{
static_jassert (sizeof (VertexInfo) == 8);
static_assert (sizeof (VertexInfo) == 8, "Sanity check VertexInfo size");
context.extensions.glBindBuffer (GL_ARRAY_BUFFER, 0);
context.extensions.glBindBuffer (GL_ELEMENT_ARRAY_BUFFER, 0);
context.extensions.glDeleteBuffers (2, buffers);