Skip to content

Commit 70cc0b4

Browse files
committed
[vpr] format
1 parent ca391d3 commit 70cc0b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/draw/search_bar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,10 @@ bool highlight_rr_nodes(int hit_node) {
139139
t_draw_state* draw_state = get_draw_state_vars();
140140

141141
char message[250] = "";
142+
auto& device_ctx = g_vpr_ctx.device();
142143

143144
if (hit_node != OPEN) {
144145
auto nodes = draw_expand_non_configurable_rr_nodes(hit_node);
145-
const auto& device_ctx = g_vpr_ctx.device();
146146
for (auto node : nodes) {
147147
if (draw_state->draw_rr_node[node].color != ezgl::MAGENTA) {
148148
/* If the node hasn't been clicked on before, highlight it

0 commit comments

Comments
 (0)