Fix #26064: blenderplayer is broken
This changes were forgotten in svn rev34810. Should work fine now.
This commit is contained in:
@@ -108,7 +108,7 @@ extern char datatoc_bfont_ttf[];
|
|||||||
const int kMinWindowWidth = 100;
|
const int kMinWindowWidth = 100;
|
||||||
const int kMinWindowHeight = 100;
|
const int kMinWindowHeight = 100;
|
||||||
|
|
||||||
char bprogname[FILE_MAXDIR+FILE_MAXFILE];
|
char bprogname[FILE_MAX];
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
typedef enum
|
typedef enum
|
||||||
@@ -362,7 +362,7 @@ int main(int argc, char** argv)
|
|||||||
signal (SIGFPE, SIG_IGN);
|
signal (SIGFPE, SIG_IGN);
|
||||||
#endif /* __alpha__ */
|
#endif /* __alpha__ */
|
||||||
#endif /* __linux__ */
|
#endif /* __linux__ */
|
||||||
BLI_where_am_i(bprogname, argv[0]);
|
BLI_where_am_i(bprogname, sizeof(bprogname), argv[0]);
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
// Can't use Carbon right now because of double defined type ID (In Carbon.h and DNA_ID.h, sigh)
|
// Can't use Carbon right now because of double defined type ID (In Carbon.h and DNA_ID.h, sigh)
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user