sorta ready
[carveJwlIkooP6JGAAIwe30JlM.git] / gui.h
diff --git a/gui.h b/gui.h
index 99345c1e431eb3fe16e5c30af625f8348c59e820..c057ce6ebd71f415b84ddd025a68457b9a511577 100644 (file)
--- a/gui.h
+++ b/gui.h
@@ -35,6 +35,7 @@ void gui_draw(void)
    ortho.mtx.p[3][3] = 1.0f;
    m4x3_identity( ortho.transform );
    camera_update_view( &ortho );
+   m4x4_mul( ortho.mtx.p, ortho.mtx.v, ortho.mtx.pv );   /* HACK */
    camera_finalize( &ortho );
 
    gui.factive = vg_lerpf( gui.factive, gui.helper_count?1.0f:0.0f,