- backend update from Raze.

This commit is contained in:
Christoph Oelckers 2020-06-11 12:42:31 +02:00
parent 646457eb03
commit fe19aec059
2 changed files with 7 additions and 0 deletions

View File

@ -38,6 +38,7 @@
#include "gameconfigfile.h"
#include "d_event.h"
#include "cmdlib.h"
#include "printf.h"
// MACROS ------------------------------------------------------------------

View File

@ -500,6 +500,12 @@ public:
mStreamData.uTextureBlendColor = texfx->BlendColor;
}
}
void SetTextureColors(float* modColor, float* addColor, float* blendColor)
{
mStreamData.uTextureAddColor.SetFlt(addColor[0], addColor[1], addColor[2], addColor[3]);
mStreamData.uTextureModulateColor.SetFlt(modColor[0], modColor[1], modColor[2], modColor[3]);
mStreamData.uTextureBlendColor.SetFlt(blendColor[0], blendColor[1], blendColor[2], blendColor[3]);
}
void SetFog(PalEntry c, float d)
{