Git Product home page Git Product logo

Comments (5)

ArEnSc avatar ArEnSc commented on April 28, 2024

I agree with this, support for glut should be dropped after LTS 14.04, but SDL2 example bootstraps should be added into the mix. It took me to long to figure out how to have cmake find SDL2 on osx.

I believe another github user recommended that FindSDL2.cmake should be merged into each of the bootstrap branches.

from magnum.

mosra avatar mosra commented on April 28, 2024

The need for FindSDL2.cmake is mentioned in Platform::Sdl2Application class documentation and I can't do much more about that.

I don't want to add the FindSDL2.cmake file into all GLUT bootstrap projects, as the bootstrap repository should contain only the essential files and not anything that might be needed only in some cases.

Okay, I'll add at least base-sdl2 bootstrap project (which will be then merged back to base one after the switch). Hopefully the users will then be able to make similar change in other bootstrap projects as well.

from magnum.

mosra avatar mosra commented on April 28, 2024

I added base application using SDL2 to base-sdl2 branch in mosra/magnum-bootstrap@e7206b6. The difference from base branch is explained in README, so the users should be able to make the change also in other bootstrap projects.

from magnum.

mosra avatar mosra commented on April 28, 2024

Ubuntu 14.04 was released on April 17th, so unless someone has serious objections against the switch, I'll slowly start replacing GLUT with SDL2 everywhere. The "old" Platform::GlutApplication will remain in the repository, but everything else (documentation, tutorials, examples, bootstrap code) will now use Platform::Sdl2Application.

from magnum.

mosra avatar mosra commented on April 28, 2024

Done in 8a412f1, mosra/magnum-examples@a4b3b8d and also in all branches of magnum-bootstrap repository. The bootstrap repository now contains also base-glut branch where SDL2 is replaced by GLUT for compatibility purposes.

from magnum.

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.