mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-08 14:16:44 +01:00
libsuperderpy: init video addon
This commit is contained in:
parent
df536baa32
commit
adb15a9caf
2 changed files with 6 additions and 0 deletions
|
@ -127,6 +127,11 @@ SYMBOL_EXPORT struct Game* libsuperderpy_init(int argc, char** argv, const char*
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!al_init_video_addon()) {
|
||||||
|
fprintf(stderr, "failed to initialize the video addon!\n");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
al_init_font_addon();
|
al_init_font_addon();
|
||||||
|
|
||||||
if (!al_init_ttf_addon()) {
|
if (!al_init_ttf_addon()) {
|
||||||
|
|
|
@ -32,6 +32,7 @@ struct Game;
|
||||||
#include <allegro5/allegro_opengl.h>
|
#include <allegro5/allegro_opengl.h>
|
||||||
#include <allegro5/allegro_primitives.h>
|
#include <allegro5/allegro_primitives.h>
|
||||||
#include <allegro5/allegro_ttf.h>
|
#include <allegro5/allegro_ttf.h>
|
||||||
|
#include <allegro5/allegro_video.h>
|
||||||
#ifdef ALLEGRO_ANDROID
|
#ifdef ALLEGRO_ANDROID
|
||||||
#include <allegro5/allegro_android.h>
|
#include <allegro5/allegro_android.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue