Code Monkey home page Code Monkey logo

Comments (5)

krogueintel avatar krogueintel commented on June 26, 2024

Hi,

I think that define is supposed to come from SDL2's SDL_config.h header. As far as I know, that define is used just in SDL_syswm.h to include the member struct that is referenced in egl_helper (specifically w.info.wl). The demos build out of the box under Ubuntu based distros and several others I have tested.

That it fails to build is quite troubling, what Linux distro does it not build under without adding the SDL_VIDEO_DRIVER_WAYLAND ?

-Kevin

from fastuidraw.

krogueintel avatar krogueintel commented on June 26, 2024

I did a significant update: I removed the entire EGL binding system from the demos and FastUIDraw. It was made (quite some time ago) when I had encountered issues with letting SDL2 get an GLES context itself (the issue only manifested on one platform I tested and I suspect it was caused by an error I made). The upshot is that the demos transparently rely on SDL2 to do the right thing about the windowing system and getting a GL/GLES context instead of having an option to do it itself.

Let me know if this works fine for you and if it does, I will close the issue.

from fastuidraw.

krogueintel avatar krogueintel commented on June 26, 2024

Did the latest commits resolve your issues?

from fastuidraw.

gemath avatar gemath commented on June 26, 2024

You catch me on a vacation with a bad internet connection, give me a few days :o)

from fastuidraw.

gemath avatar gemath commented on June 26, 2024

Sry for taking such a long time. It works for me now. In case it still matters: I use Void Linux with sway (Wayland compositor with XWayland support).

from fastuidraw.

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.