mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Apply patch by forum user "John Jendro" fixing OS X build.
git-svn-id: https://svn.eduke32.com/eduke32@3958 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
8c9f0b740d
commit
ec2514a91d
2 changed files with 3 additions and 2 deletions
|
@ -23,9 +23,9 @@
|
|||
list = [[NSMutableArray alloc] init];
|
||||
|
||||
for (p = foundgrps; p; p=p->next) {
|
||||
for (i=0; i<NUMGRPFILES; i++) if (p->crcval == grpfiles[i].crcval) break;
|
||||
for (i=0; i<NUMGRPFILES; i++) if (p->crcval == internalgrpfiles[i].crcval) break;
|
||||
if (i == NUMGRPFILES) continue;
|
||||
[list addObject:[[GrpFile alloc] initWithGrpfile:p andName:[NSString stringWithCString:grpfiles[i].name]]];
|
||||
[list addObject:[[GrpFile alloc] initWithGrpfile:p andName:[NSString stringWithCString:internalgrpfiles[i].name]]];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -64,6 +64,7 @@ typedef struct grpfile {
|
|||
} grpfile_type;
|
||||
|
||||
// extern struct grpfile grpfiles[NUMGRPFILES];
|
||||
extern struct grpfile internalgrpfiles[NUMGRPFILES];
|
||||
extern struct grpfile *foundgrps;
|
||||
extern struct grpfile *listgrps;
|
||||
|
||||
|
|
Loading…
Reference in a new issue