X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_sfd.h;h=88a86396e5fd700fdaef3fc0108dcf3301c94cb3;hb=919d1227839218c57430fe9cab8f74d594c7bd14;hp=d7aeb552fb55b585131a33ec3327007b09f63f2a;hpb=3e8fda9c7cbc50d1ae95195905c953bdeedf71b9;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_sfd.h b/world_sfd.h index d7aeb55..88a8639 100644 --- a/world_sfd.h +++ b/world_sfd.h @@ -7,8 +7,11 @@ #include "world.h" +#if 0 +#if 0 #include "shaders/scoretext.h" #include "shaders/vblend.h" +#endif vg_tex2d tex_scoretext = { .path = "textures/scoretext.qoi", .flags = VG_TEXTURE_CLAMP|VG_TEXTURE_NEAREST }; @@ -56,22 +59,22 @@ float sfd_encode_glyph( char c ) VG_STATIC void sfd_encode( u32 row, const char *str ) { int end=0; - u32 row_h = world.sfd.h -1 -row; + u32 row_h = world_global.sfd.h -1 -row; - for( int i=0; i