]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
default texture is notex, not textures/ dir
authorThomas Debesse <dev@illwieckz.net>
Sat, 14 Jul 2018 21:54:51 +0000 (23:54 +0200)
committerThomas Debesse <dev@illwieckz.net>
Wed, 3 Oct 2018 00:00:16 +0000 (02:00 +0200)
use textures/radiant/notex as default texture path
instead of textures/ (which is a directory not a file)

libs/shaderlib.h

index 60c906a38a4acc9ee7bdd3f43805c01bb0dd4c18..b73d5963406a2d7d56a8181d814c68c61bbabd11 100644 (file)
@@ -78,7 +78,8 @@ inline bool texdef_name_valid( const char* name ){
 }
 
 inline const char* texdef_name_default(){
-       return GlobalTexturePrefix_get();
+       const char* notex = DEFAULT_NOTEX_NAME;
+       return notex;
 }
 
 #endif