Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README example #194

Merged
merged 1 commit into from
Feb 4, 2024
Merged

Update README example #194

merged 1 commit into from
Feb 4, 2024

Conversation

Swarthe
Copy link
Contributor

@Swarthe Swarthe commented Feb 3, 2024

Update the README example to use OpenGL 3 instead of OpenGL 2, following the suggested package flags.

Not only does this modernise the example to use a more recent OpenGL version, it also prevents possible confusion for a beginner where the example doesn't work. This is because the code uses OpenGL 2 whereas the README suggests using the opengl3 flag (see #95).

Some other minor improvements:

  • Remove the use of unnecessary extensions like BlockArguments that some people might not be familiar with
  • Specify some imports more precisely
  • Simplify some control flow

@Swarthe Swarthe changed the title Update README Update README example Feb 3, 2024
@dpwiz dpwiz enabled auto-merge (squash) February 4, 2024 18:20
@dpwiz dpwiz merged commit 47402c1 into haskell-game:main Feb 4, 2024
1 check passed
@Swarthe Swarthe deleted the readme branch February 5, 2024 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants