Add OGKBitmap.

This commit is contained in:
Jonathan Schleifer 2012-08-20 00:49:57 +02:00
parent 7953872267
commit 96c5a44ae0
9 changed files with 172 additions and 15 deletions

View file

@ -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;