From: Thomas Debesse Date: Sat, 14 Jul 2018 21:54:51 +0000 (+0200) Subject: default texture is notex, not textures/ dir X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ea169c8056f5d0ea00a844b0612c9097e5fbefbc;p=xonotic%2Fnetradiant.git default texture is notex, not textures/ dir use textures/radiant/notex as default texture path instead of textures/ (which is a directory not a file) --- diff --git a/libs/shaderlib.h b/libs/shaderlib.h index 60c906a3..b73d5963 100644 --- a/libs/shaderlib.h +++ b/libs/shaderlib.h @@ -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