mirror of
https://github.com/ineedbots/iw2_bot_warfare.git
synced 2026-10-10 20:41:26 +00:00
shader
This commit is contained in:
1 parent
c35b34cace
commit
fdeda6095e
1 file changed
+2
-1
@@ -67,6 +67,7 @@ init()
|
||||
return;
|
||||
}
|
||||
|
||||
precacheshader( "white" );
|
||||
thread watchPlayers();
|
||||
}
|
||||
|
||||
@@ -755,7 +756,7 @@ createRectangle( align, relative, x, y, width, height, color, sort, alpha, shade
|
||||
barElemBG.color = color;
|
||||
barElemBG.alpha = alpha;
|
||||
barElemBG setparent( level.uiparent );
|
||||
//barElemBG setshader( shader, width, height );
|
||||
barElemBG setshader( shader, width, height );
|
||||
barElemBG.hidden = false;
|
||||
barElemBG setpoint( align, relative, x, y );
|
||||
return barElemBG;
|
||||
|
||||
Reference in new issue
Block a user