Giter Site home page Giter Site logo

Comments (6)

maierfelix avatar maierfelix commented on May 22, 2024

Should be fixed in 0.5.9, could you check if it's working now?

from nvk.

zeeshan595 avatar zeeshan595 commented on May 22, 2024

Just updated to 0.5.9 and still the same issue. Could we expose glfwDestroyWindow?
the window stay's open for me until the process is finished.

from nvk.

maierfelix avatar maierfelix commented on May 22, 2024

What platform are you testing? I just ran your script above successfully on at least Windows

from nvk.

zeeshan595 avatar zeeshan595 commented on May 22, 2024

Linux - Latest version of Manjaro

from nvk.

zeeshan595 avatar zeeshan595 commented on May 22, 2024

Actually this might be glfw being weird. I will check to see if they have a issue for this. If i run the code below it only output's 'key pressed' once and then never triggers again. but if i remove win.close(); then it works properly and repeats every time a key is down

I am thinking for some strange reason the UI of the window does not get removed but the window is destroyed.

DeepinScreenshot_select-area_20190702213057

from nvk.

zeeshan595 avatar zeeshan595 commented on May 22, 2024

Never mind, I was being an idiot. This issue is resolved and it is working properly. Apparently if you keep polling events it keep's showing the window :D

from nvk.

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.