Remove unused hardcoded color table

Was previously used for the old FiltRect stuff
This commit is contained in:
Dennis-Z 2017-08-15 23:08:38 +02:00 committed by Tgys
parent 75b784c107
commit 2c2c5a6fde

View file

@ -62,110 +62,6 @@ struct OpenGLVersion
constexpr OpenGLVersion OPENGL_MINIMUM_REQUIRED_VERSION = { 3, 3 };
static const vec3f TransparentColourTable[144 - 44] =
{
{ 0.7f, 0.8f, 0.8f }, // 44
{ 0.7f, 0.8f, 0.8f },
{ 0.3f, 0.4f, 0.4f },
{ 0.2f, 0.3f, 0.3f },
{ 0.1f, 0.2f, 0.2f },
{ 0.4f, 0.5f, 0.5f },
{ 0.3f, 0.4f, 0.4f },
{ 0.4f, 0.5f, 0.5f },
{ 0.4f, 0.5f, 0.5f },
{ 0.3f, 0.4f, 0.4f },
{ 0.6f, 0.7f, 0.7f },
{ 0.3f, 0.5f, 0.9f },
{ 0.1f, 0.3f, 0.8f },
{ 0.5f, 0.7f, 0.9f },
{ 0.6f, 0.2f, 0.2f },
{ 0.5f, 0.1f, 0.1f },
{ 0.8f, 0.4f, 0.4f },
{ 0.3f, 0.5f, 0.4f },
{ 0.2f, 0.4f, 0.2f },
{ 0.5f, 0.7f, 0.5f },
{ 0.5f, 0.5f, 0.7f },
{ 0.3f, 0.3f, 0.5f },
{ 0.6f, 0.6f, 0.8f },
{ 0.5f, 0.5f, 0.2f },
{ 0.4f, 0.4f, 0.1f },
{ 0.7f, 0.7f, 0.4f },
{ 0.7f, 0.5f, 0.3f },
{ 0.6f, 0.4f, 0.2f },
{ 0.8f, 0.7f, 0.4f },
{ 0.8f, 0.7f, 0.1f },
{ 0.7f, 0.4f, 0.0f },
{ 1.0f, 0.9f, 0.2f },
{ 0.4f, 0.6f, 0.2f },
{ 0.3f, 0.4f, 0.2f },
{ 0.5f, 0.7f, 0.3f },
{ 0.5f, 0.6f, 0.4f },
{ 0.4f, 0.4f, 0.3f },
{ 0.7f, 0.8f, 0.5f },
{ 0.3f, 0.7f, 0.2f },
{ 0.2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