We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca391d3 commit 70cc0b4Copy full SHA for 70cc0b4
vpr/src/draw/search_bar.cpp
@@ -139,10 +139,10 @@ bool highlight_rr_nodes(int hit_node) {
139
t_draw_state* draw_state = get_draw_state_vars();
140
141
char message[250] = "";
142
+ auto& device_ctx = g_vpr_ctx.device();
143
144
if (hit_node != OPEN) {
145
auto nodes = draw_expand_non_configurable_rr_nodes(hit_node);
- const auto& device_ctx = g_vpr_ctx.device();
146
for (auto node : nodes) {
147
if (draw_state->draw_rr_node[node].color != ezgl::MAGENTA) {
148
/* If the node hasn't been clicked on before, highlight it
0 commit comments