Skip to content

Commit

Permalink
- backend update from Raze.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Jun 11, 2020
1 parent 646457e commit fe19aec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/common/engine/m_joy.cpp
Expand Up @@ -38,6 +38,7 @@
#include "gameconfigfile.h"
#include "d_event.h"
#include "cmdlib.h"
#include "printf.h"

// MACROS ------------------------------------------------------------------

Expand Down
6 changes: 6 additions & 0 deletions src/common/rendering/hwrenderer/data/hw_renderstate.h
Expand Up @@ -500,6 +500,12 @@ class FRenderState
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)
{
Expand Down

0 comments on commit fe19aec

Please sign in to comment.