Make dither texture data constant

This commit is contained in:
Christoph Oelckers 2018-08-08 08:43:46 +02:00 committed by GitHub
parent 24e2c3a611
commit 863b9fff8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -564,7 +564,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,