char error[260];
char path[260];
strcpy( path, shader->vs.orig_file );
- avs = stb_include_file( path, "", "../shaders", error );
+ avs = stb_include_file( path, "", "../../shaders", error );
strcpy( path, shader->fs.orig_file );
- afs = stb_include_file( path, "", "../shaders", error );
+ afs = stb_include_file( path, "", "../../shaders", error );
if( !avs || !afs )
{
+ vg_error( "Could not find shader source files (%s)\n",
+ shader->vs.orig_file );
+
free( avs );
free( afs );
return 0;