Add OGKBitmap.
This commit is contained in:
parent
7953872267
commit
96c5a44ae0
9 changed files with 172 additions and 15 deletions
|
@ -31,15 +31,6 @@
|
|||
exceptionWithClass: self];
|
||||
}
|
||||
|
||||
+ displayWithSize: (of_dimension_t)size
|
||||
fullscreen: (BOOL)fullscreen
|
||||
resizable: (BOOL)resizable
|
||||
{
|
||||
return [[self alloc] initWithSize: size
|
||||
fullscreen: fullscreen
|
||||
resizable: resizable];
|
||||
}
|
||||
|
||||
- initWithSize: (of_dimension_t)size
|
||||
fullscreen: (BOOL)fullscreen
|
||||
resizable: (BOOL)resizable
|
||||
|
@ -75,6 +66,11 @@
|
|||
al_destroy_display(display);
|
||||
}
|
||||
|
||||
- (void)update
|
||||
{
|
||||
al_flip_display();
|
||||
}
|
||||
|
||||
- (ALLEGRO_DISPLAY*)OGK_allegroDisplay
|
||||
{
|
||||
return display;
|
||||
|
|
Reference in a new issue