goxjs / glfw

Go cross-platform glfw library for creating an OpenGL context and receiving events.
MIT License
82 stars 26 forks source link

Add hints to override default GLContextAttributes options #7

Closed shibukawa closed 8 years ago

dmitshur commented 8 years ago

Thanks for your contribution! I've left an inline comment above.

Would you like to fix that yourself? Or I can merge and do it in a followup commit.

shibukawa commented 8 years ago

I completely agree with you. I will fix and add comment "browser only" for godoc.

shibukawa commented 8 years ago

Updated.

dmitshur commented 8 years ago

Merged and applied the Depth -> DepthBits, Stencil -> StencilBits changes in b3b34e95345717a8145fbc02e487a90590d548ab. You'll want to update your code to use those.

Thank you for the PR!

shibukawa commented 8 years ago

Thanks!