Skip to content

Commit

Permalink
Target OpenGL 4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
icy-arctic-fox committed May 22, 2021
1 parent 25fc7de commit c9ac5b4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ require "gloop"

TODO: Write usage instructions here

## Versioning

Gloop is written against OpenGL 4.6 Core profile.
However, this doesn't mean OpenGL 4.6 must be used.
As long as your application calls methods only in the target version, the code will compile and link.
For instance, [Direct State Access (DSA)](https://www.khronos.org/opengl/wiki/Direct_State_Access) was introduced in OpenGL 4.5.
If your code doesn't utilize DSA, then it should be fine to target a version lower than 4.5.

## Development

TODO: Write development instructions here
Expand Down
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ development_dependencies:
dependencies:
opengl:
gitlab: arctic-fox/opengl.cr
branch: gl-4.5-core
branch: gl-4.6-core

crystal: 1.0.0

Expand Down

0 comments on commit c9ac5b4

Please sign in to comment.