Skip to content

update: README.md#170

Open
AdianKozlica wants to merge 2 commits intogo-gl:masterfrom
AdianKozlica:master
Open

update: README.md#170
AdianKozlica wants to merge 2 commits intogo-gl:masterfrom
AdianKozlica:master

Conversation

@AdianKozlica
Copy link
Copy Markdown

I have added additional information regarding setup on Fedora/RHEL systems.

I have also added glfw initialization to the code example.

Copy link
Copy Markdown
Member

@dmitshur dmitshur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change to document Fedora/RHEL-based system requirements seems reasonable. See an inline comment about the other change.

if err := glfw.Init(); err != nil {
log.Fatalln("failed to initialize glfw:", err)
}
defer glfw.Terminate()
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not include this. It wouldn't compile anyway because it doesn't have a "glfw" import, and the window opening code is still "...". This example isn't meant to be complete code; we have https://github.com/go-gl/example for that. In theory this package can be used with something other than glfw, too.

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.

2 participants