medfall

A super great game engine
Log | Files | Refs

commit e4c94b3402b94c40696d62e03d6bbc110b51ce8d
parent 053b37bf1a9396e853105b33e69120fba332d715
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Thu Aug 31 22:51:00 +0300

Windows crash

Diffstat:
shaders.cc | 2++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/shaders.cc b/shaders.cc @@ -133,6 +133,8 @@ int hotload_shaders() { bool reload_all = false; for( ShaderInclude & include : includes ) { + if( include.path == NULL ) break; + time_t t = file_last_write_time( include.path ); if( t > include.last_modified ) { reload_all = true;