Git Product home page Git Product logo

Comments (5)

schell avatar schell commented on July 18, 2024

The current version of glfw included in bindings-GLFW is 3.1.0. You can see the various version definitions in the glfw3.h file at https://github.com/bsl/bindings-GLFW/blob/master/glfw/include/GLFW/glfw3.h#L238. The bindings-DSL package keeps this in sync by providing some neat macros which are used here https://github.com/bsl/bindings-GLFW/blob/master/Bindings/GLFW.hsc#L29. As far as I can tell everything is in order. The headers were updated along with the rest of the glfw source after the release of 3.1.

The bindings-GLFW version and the glfw version don't necessarily correlate 1:1. The current bindings-GLFW version (3.1.1.3) doesn't bind to glfw 3.1.1.3, it binds to glfw 3.1.0. Does that make sense?

from bindings-glfw.

hadronized avatar hadronized commented on July 18, 2024

Yeah, so the problem is not from the haskell package, but from GLFW. The revision number should b 1 for 3.1.1.

Oh. I guess I made the wrong assumption the library was up to date. May I help to bring it up to 3.1.1? :)

from bindings-glfw.

schell avatar schell commented on July 18, 2024

I think it's correct. 3 is major, 1 minor and revision is 0. As far as I know, the version of GLFW that bindings-GLFW binds to is 3.1.0, which is reflected by the bindings. You can check out the header source in question here (https://github.com/bsl/bindings-GLFW/blob/master/glfw/include/GLFW/glfw3.h#L238).

This will be updated if/when we update the glfw source to 3.1.1.

from bindings-glfw.

hadronized avatar hadronized commented on July 18, 2024

Alright then. Any way I can help?

from bindings-glfw.

schell avatar schell commented on July 18, 2024

Sure! There are two important things that need doing - updating the glfw source to 3.1.1 or updating the bindings and GLFW-b to support the new features added in 3.1. I've started on the latter (work is in additions-3.1 branch https://github.com/bsl/bindings-GLFW/tree/additions-3.1) and both have github issues. You can also submit a PR for any issues in GLFW-b if you like :)

from bindings-glfw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.