add none compiler
[vg.git] / vg.h
diff --git a/vg.h b/vg.h
index 4b8956a1989c7cd5ff7ba57d7b65712a606de78a..753da33dd706027392d6e5f2828587dd433f4323 100644 (file)
--- a/vg.h
+++ b/vg.h
@@ -173,6 +173,7 @@ struct vg{
    quality_profile;
 
    float loader_ring;
+   GLuint tex_missing;
 }
 static vg = { .time_rate = 1.0 };
 const char *vg_get_basepath(void){
@@ -292,6 +293,7 @@ static void _vg_load_full( void *data )
    vg_preload();
 
    /* internal */
+   vg_tex2d_replace_with_error( &vg.tex_missing );
    vg_loader_step( vg_input_init, vg_input_free );
    vg_loader_step( vg_lines_init, NULL );
 #ifndef VG_NO_AUDIO