X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_sfd.h;fp=world_sfd.h;h=3fbbe949482a775ebba620a53b71e25b36f86c50;hb=aa4c26eae2208872824e0eb5b71bc05c16d43242;hp=d7aeb552fb55b585131a33ec3327007b09f63f2a;hpb=3e8fda9c7cbc50d1ae95195905c953bdeedf71b9;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_sfd.h b/world_sfd.h index d7aeb55..3fbbe94 100644 --- a/world_sfd.h +++ b/world_sfd.h @@ -7,8 +7,10 @@ #include "world.h" +#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 }; @@ -104,8 +106,8 @@ VG_STATIC void sfd_update(void) VG_STATIC void bind_terrain_noise(void); VG_STATIC void sfd_render( camera *cam, m4x3f transform ) { +#if 0 mesh_bind( &world.sfd.mesh_display ); - shader_scoretext_use(); shader_scoretext_uTexGarbage(0); shader_scoretext_uTexGradients(1); @@ -147,6 +149,7 @@ VG_STATIC void sfd_render( camera *cam, m4x3f transform ) mesh_bind( &world.sfd.mesh_base ); mesh_draw( &world.sfd.mesh_base ); +#endif } VG_STATIC int world_sfd_test( int argc, const char *argv[] ) @@ -163,7 +166,10 @@ VG_STATIC int world_sfd_test( int argc, const char *argv[] ) VG_STATIC void world_sfd_init(void) { vg_info( "world_sfd_init\n" ); + +#if 0 shader_scoretext_register(); +#endif vg_function_push( (struct vg_cmd){ .name = "sfd",