mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-11 05:01:09 +00:00
- backend update from Raze.
This commit is contained in:
parent
646457eb03
commit
fe19aec059
2 changed files with 7 additions and 0 deletions
|
@ -38,6 +38,7 @@
|
|||
#include "gameconfigfile.h"
|
||||
#include "d_event.h"
|
||||
#include "cmdlib.h"
|
||||
#include "printf.h"
|
||||
|
||||
// MACROS ------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue