- added NPOT emulation to the backend.

This is #ifdef guarded because GZDoom uses the same code base but has no use for this feature.
This commit is contained in:
Christoph Oelckers 2020-06-08 08:02:58 +02:00
parent a6545788a6
commit 5cbe9fc49c
6 changed files with 134 additions and 99 deletions

View file

@ -262,6 +262,9 @@ class FShader
FBufferedUniform1f muAlphaThreshold;
FBufferedUniform2f muSpecularMaterial;
FBufferedUniform1f muTimer;
#ifdef NPOT_EMULATION
FBufferedUniform2f muNpotEmulation;
#endif
int lights_index;
int modelmatrix_index;