mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
fixed custom skin colour picker
This commit is contained in:
parent
fa8959311e
commit
191d7fab81
|
@ -204,8 +204,8 @@ void CMenus::RenderHSLPicker(CUIRect MainView)
|
|||
Graphics()->QuadsDrawTL(&QuadItem, 1);
|
||||
|
||||
// white blending
|
||||
ColorArray[0] = IGraphics::CColorVertex(0, 1.0f, 1.0f, 1.0f, 0.0f);
|
||||
ColorArray[1] = IGraphics::CColorVertex(1, 1.0f, 1.0f, 1.0f, 0.0f);
|
||||
ColorArray[0] = IGraphics::CColorVertex(0, 0.0f, 0.0f, 0.0f, 0.0f);
|
||||
ColorArray[1] = IGraphics::CColorVertex(1, 0.0f, 0.0f, 0.0f, 0.0f);
|
||||
ColorArray[2] = IGraphics::CColorVertex(2, 1.0f, 1.0f, 1.0f, 1.0f);
|
||||
ColorArray[3] = IGraphics::CColorVertex(3, 1.0f, 1.0f, 1.0f, 1.0f);
|
||||
Graphics()->SetColorVertex(ColorArray, 4);
|
||||
|
|
Loading…
Reference in a new issue