Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <allegro5/allegro.h>
- int main(int argc, char **argv) {
- ALLEGRO_DISPLAY *display = NULL;
- if(!al_init()) {
- return -1;
- }
- display = al_create_display(640, 640);
- if(!display) {
- return -1;
- }
- al_clear_to_color(al_map_rgb(255, 0, 0));
- al_flip_display();
- al_rest(5.0);
- al_destroy_display(display);
- return 0;
- }
- /* http://youtu.be/MSDPjrI_4B8 */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement