random
[vg.git] / vg_ui.h
diff --git a/vg_ui.h b/vg_ui.h
index 0c88b2f26e566dc5eac01b84b7c2071b26d81fac..c86e4c809c5b407d6002718524266ed9c6809990 100644 (file)
--- a/vg_ui.h
+++ b/vg_ui.h
@@ -159,7 +159,7 @@ struct
 } 
 static vg_uictx;
 
-#define UI_GLYPH_SPACING_X 9
+#define UI_GLYPH_SPACING_X 8
 
 static GLuint ui_glyph_texture = 0;
 static ui_colourset ui_default_colours = {
@@ -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 );
@@ -238,7 +239,7 @@ VG_STATIC void _vg_ui_init(void)
    
        /* Load default font */
    u32 compressed[] = {
-      #include "vg/vg_pxfont.h"
+      #include "vg/vg_pxfont_thin.h"
    };
 
    u32 pixels = 0, total = 256*256, data = 0;