Skip to content

Commit

Permalink
now the game supports only OpenGL, Allegro 5 D3D implementation is br…
Browse files Browse the repository at this point in the history
…oken.
  • Loading branch information
speeder committed Jan 22, 2014
1 parent 954bdce commit cabd082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ int main(int argc, char **argv) //we don't use these parameters, and this trigge
monitorHeight = monitorInformation.y2-monitorInformation.y1;

al_set_new_display_option(ALLEGRO_VSYNC, 1, ALLEGRO_SUGGEST); //this is to avoid tearing on fullscreen, not needed on window modes
al_set_new_display_flags(ALLEGRO_FULLSCREEN); //I am using fullscreen because in windowed mode is easy to click outside the game and switch to something else
al_set_new_display_flags(ALLEGRO_OPENGL | ALLEGRO_FULLSCREEN); //I am using fullscreen because in windowed mode is easy to click outside the game and switch to something else
display = al_create_display(monitorWidth, monitorHeight);
if(!display)
{
Expand Down

0 comments on commit cabd082

Please sign in to comment.