Differences From Artifact [a7dbf6df22]:
- File test/TestMain.m — part of check-in [40c2d53ff0] at 2012-08-26 10:09:26 on branch trunk — Use flags for -[OGKDisplay init...]. (user: js, size: 3569) [annotate] [blame] [check-ins using]
To Artifact [28b7846922]:
- File
test/TestMain.m
— part of check-in
[4719f25709]
at
2012-08-26 12:17:52
on branch trunk
— Only call al_*_destroy if Allegro is initialized.
Otherwise, it would crash if al_uinstall_system() has already been
called. Handling it this way eliminates the need to dealloc all objects
before calling al_uninstall_system(), which meant that it was the users
repsonsibility to call al_uninstall_system() after the user made sure
all objects are deallocated. Now the user does not get to see any
al_*() function. (user: js, size: 3399) [annotate] [blame] [check-ins using] - File tests/TestMain.m — part of check-in [b82dc2eabe] at 2012-08-26 12:21:57 on branch trunk — Add a proper build system. (user: js, size: 3399) [annotate] [blame] [check-ins using]
︙ | |||
112 113 114 115 116 117 118 | 112 113 114 115 116 117 118 119 | - - - - - - - - - | for (running = YES; running;) { @autoreleasepool { [self handleEvents]; [self draw]; } } } |