deadzones adjustable & other fixes
[vg.git] / vg_ui.h
diff --git a/vg_ui.h b/vg_ui.h
index 0c88b2f26e566dc5eac01b84b7c2071b26d81fac..ba428b009b385132e1f5bbf3c6253b09e5b2ddf5 100644 (file)
--- a/vg_ui.h
+++ b/vg_ui.h
@@ -180,6 +180,7 @@ VG_STATIC void _vg_ui_init(void)
 
    vg_uictx.max_indices = 20000;
    vg_uictx.max_verts = 30000;
+   vg_uictx.colours = &ui_default_colours;
        
        /* Generate the buffer we are gonna be drawing to */
    glGenVertexArrays( 1, &vg_uictx.vao );