Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Assets/Plugins/DebugGUI/Windows/DebugGUIWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ protected void DrawRect(Rect rect, Color color, Vector2 padding = default)
rect.position += this.rect.position;
rect.size += padding * 2;

drawMat.SetPass(0);

GL.Begin(GL.QUADS);
{
GL.Color(color);
Expand Down Expand Up @@ -164,4 +166,4 @@ protected void DrawLabel(Rect rect, string label, Vector2 padding = default, GUI
GUI.Label(new Rect(rect.position + padding, rect.size + padding), tmpGuiContent, style ?? GUIStyle.none);
}
}
}
}