mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 15:21:48 +00:00
- fixed screen blend.
This commit is contained in:
parent
b56f74bf32
commit
a4ef7596e7
1 changed files with 3 additions and 3 deletions
|
@ -93,7 +93,7 @@ FString GameInterface::statFPS()
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// fixme: Menu does not call this
|
//
|
||||||
//
|
//
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -192,8 +192,8 @@ void drawbackground(void)
|
||||||
void V_AddBlend (float r, float g, float b, float a, float v_blend[4])
|
void V_AddBlend (float r, float g, float b, float a, float v_blend[4])
|
||||||
{
|
{
|
||||||
r = clamp(r/255.f, 0.f, 0.25f);
|
r = clamp(r/255.f, 0.f, 0.25f);
|
||||||
g = clamp(r/255.f, 0.f, 0.25f);
|
g = clamp(g/255.f, 0.f, 0.25f);
|
||||||
b = clamp(r/255.f, 0.f, 0.25f);
|
b = clamp(b/255.f, 0.f, 0.25f);
|
||||||
a = clamp(a/255.f, 0.f, 0.25f);
|
a = clamp(a/255.f, 0.f, 0.25f);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue