From f61a766d600247dec7526e5d494bff1f468770db Mon Sep 17 00:00:00 2001 From: Cameron Reikes Date: Sun, 11 Dec 2022 09:54:17 -0800 Subject: [PATCH] Fix squad invite rendering --- flight.rdbg | Bin 1865 -> 1926 bytes loaded/squad_invite.png | Bin 695 -> 647 bytes main.c | 3 ++- 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/flight.rdbg b/flight.rdbg index f6e051638ea655f12263ed75dff2c1e4bd161848..e51b7d19a86ff251746291bd1b4e1ea80d8976bb 100644 GIT binary patch delta 81 zcmX@f*T%nL5(}f?=E*EJj7l5~3=ElhWtkqCc zZ^ZE4Z;T3{QmIs(H6*Xvmz7QX{^dQQ#miGRJmPuX0e|PKt2gOJWp(xmI*|ql4Qe5- z_7($pBY+Q*s;>eFjdKvWnkE1r003ry#m5lMGkCVzaVhXy@BZm+`uJ<&^R2ckr~ce_zJ9;o@uzlI0_B)aRIWK%lk(?x_*w_; z?u%=xw_XTI2)Du9wrRG|%1|q9hjrg3AL_~2Av<~J7T1z&*)xn!=7eT%doo4$ z*qNdOXI@<^5r3$foyKq=J<`X0lQqNpxf2X#zGS=*9bWiWV%|SFj;06f&#De7SwDKW R0O$b*Pgg%ymvv4FO#m|-Zvg-R diff --git a/main.c b/main.c index 479f80e..8ef7dbb 100644 --- a/main.c +++ b/main.c @@ -940,10 +940,11 @@ static void ui(bool draw, double dt, double width, double height) { pipeline_scope(hueshift_pipeline) { + set_color_values(1.0, 1.0, 1.0, 1.0); + sgp_set_image(0, image_squad_invite); setup_hueshift(draw_as_squad); scale_at(1.0, -1.0, x, invite_y); // images upside down by default :( - sgp_set_image(0, image_squad_invite); draw_texture_centered((cpVect){x, invite_y}, size); sgp_reset_image(0); }