mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
GlDraw: Improved error reporting for shaders
git-svn-id: svn://ultimatepp.org/upp/trunk@12286 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
3ac1a779f2
commit
678761626c
3 changed files with 9 additions and 3 deletions
|
|
@ -137,13 +137,15 @@ void AppMain___()
|
|||
auto arg = cmd_handler.GetArgs();
|
||||
|
||||
SetVppLogSizeLimit(200000000);
|
||||
|
||||
bool hasvars = FindFile(ConfigFile("*.var"));
|
||||
|
||||
#ifdef PLATFORM_POSIX
|
||||
String home = Environment().Get("UPP_HOME", Null);
|
||||
if(!IsNull(home))
|
||||
SetHomeDirectory(home);
|
||||
FindFile ff(ConfigFile("*.var"));
|
||||
if(!ff) {
|
||||
if(!hasvar) {
|
||||
if(!Install())
|
||||
return;
|
||||
SaveFile(ConfigFile("version"), IDE_VERSION);
|
||||
|
|
@ -156,6 +158,9 @@ void AppMain___()
|
|||
AutoInstantSetup();
|
||||
#endif
|
||||
|
||||
if(!hasvars)
|
||||
SetupSVNTrunk();
|
||||
|
||||
if(!FileExists(BlitzBaseFile()))
|
||||
ResetBlitz();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue