mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
Make dither texture data constant
This commit is contained in:
parent
24e2c3a611
commit
863b9fff8a
1 changed files with 1 additions and 1 deletions
|
@ -564,7 +564,7 @@ void FGLRenderBuffers::BindDitherTexture(int texunit)
|
||||||
{
|
{
|
||||||
if (!mDitherTexture)
|
if (!mDitherTexture)
|
||||||
{
|
{
|
||||||
float data[64] =
|
static const float data[64] =
|
||||||
{
|
{
|
||||||
.0078125, .2578125, .1328125, .3828125, .0234375, .2734375, .1484375, .3984375,
|
.0078125, .2578125, .1328125, .3828125, .0234375, .2734375, .1484375, .3984375,
|
||||||
.7578125, .5078125, .8828125, .6328125, .7734375, .5234375, .8984375, .6484375,
|
.7578125, .5078125, .8828125, .6328125, .7734375, .5234375, .8984375, .6484375,
|
||||||
|
|
Loading…
Reference in a new issue