Make dither texture data constant

This commit is contained in:
Christoph Oelckers 2018-08-08 08:43:46 +02:00 committed by drfrag
parent fd83903841
commit 73ed375b6f

View file

@ -746,7 +746,7 @@ void FGLRenderBuffers::BindDitherTexture(int texunit)
{
if (!mDitherTexture)
{
float data[64] =
static const float data[64] =
{
.0078125, .2578125, .1328125, .3828125, .0234375, .2734375, .1484375, .3984375,
.7578125, .5078125, .8828125, .6328125, .7734375, .5234375, .8984375, .6484375,