OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
Source at commit 47070570b84063ed491835a22362104d7e71af67 created 12 years 9 months ago. By David Kühling, new package: liballegro: a lightweight game and multimedia library | |
---|---|
1 | Index: allegro-4.4.2/demos/shooter/demo.c |
2 | =================================================================== |
3 | --- allegro-4.4.2.orig/demos/shooter/demo.c 2011-05-29 12:56:58.000000000 +0200 |
4 | +++ allegro-4.4.2/demos/shooter/demo.c 2011-05-29 13:50:44.000000000 +0200 |
5 | @@ -90,9 +90,9 @@ |
6 | allegro_message("Error initialising joystick\n%s\n", allegro_error); |
7 | install_joystick(JOY_TYPE_NONE); |
8 | } |
9 | - |
10 | - if (set_gfx_mode(GFX_AUTODETECT, 320, 200, 0, 0) != 0) { |
11 | - if (set_gfx_mode(GFX_SAFE, 320, 200, 0, 0) != 0) { |
12 | + set_color_depth(32); |
13 | + if (set_gfx_mode(GFX_AUTODETECT, 320, 240, 0, 0) != 0) { |
14 | + if (set_gfx_mode(GFX_SAFE, 320, 240, 0, 0) != 0) { |
15 | set_gfx_mode(GFX_TEXT, 0, 0, 0, 0); |
16 | allegro_message("Unable to set any graphic mode\n%s\n", |
17 | allegro_error); |
18 |