- renamed r_blendmode to r_blendmethod
- did another drawer
This commit is contained in:
parent
4e100fc9a1
commit
80482e98a3
2 changed files with 43 additions and 20 deletions
|
|
@ -66,7 +66,7 @@
|
|||
#include "menu/menu.h"
|
||||
#include "r_data/voxels.h"
|
||||
|
||||
EXTERN_CVAR(Bool, r_blendmode)
|
||||
EXTERN_CVAR(Bool, r_blendmethod)
|
||||
|
||||
int active_con_scale();
|
||||
|
||||
|
|
@ -392,7 +392,7 @@ void DCanvas::Dim (PalEntry color, float damount, int x1, int y1, int w, int h)
|
|||
int dimmedcolor_g = color.g * alpha;
|
||||
int dimmedcolor_b = color.b * alpha;
|
||||
|
||||
if (!r_blendmode)
|
||||
if (!r_blendmethod)
|
||||
{
|
||||
for (y = h; y != 0; y--)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue