Revert "Fix power meter going black when in djui pause (#168)" (#186)

This reverts commit 4da8343253.
This commit is contained in:
Agent X 2022-09-13 17:43:06 -04:00 committed by GitHub
parent 4942655ff8
commit f13f78b823
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,7 +104,6 @@ void hud_render_power_meter(s32 health, f32 x, f32 y, f32 width, f32 height) {
{ (u8*)texture_power_meter_seven_segments, 8, 32, 32 }, { (u8*)texture_power_meter_seven_segments, 8, 32, 32 },
{ (u8*)texture_power_meter_full, 8, 32, 32 }, { (u8*)texture_power_meter_full, 8, 32, 32 },
}; };
djui_hud_set_color(255, 255, 255, 255);
djui_hud_render_texture(&sPowerMeterTexturesInfo[0], x, y, width / 64, height / 64); djui_hud_render_texture(&sPowerMeterTexturesInfo[0], x, y, width / 64, height / 64);
djui_hud_render_texture(&sPowerMeterTexturesInfo[1], x + width / 2, y, width / 64, height / 64); djui_hud_render_texture(&sPowerMeterTexturesInfo[1], x + width / 2, y, width / 64, height / 64);
s32 numWedges = MIN(MAX(health >> 8, 0), 8); s32 numWedges = MIN(MAX(health >> 8, 0), 8);