Giter Site home page Giter Site logo

An internal OpenGL call failed... about tgui HOT 6 CLOSED

texus avatar texus commented on August 26, 2024
An internal OpenGL call failed...

from tgui.

Comments (6)

texus avatar texus commented on August 26, 2024

I haven't been immediately able to reprocude the error (MinGW 4.7.1 TDM).

Maybe it happens on specific code? Could you show some minimal code to reproduce this?
Maybe by placing some couts in your code you can find out where the error happens?

PS: You switched the sfml and tgui commit numbers.

from tgui.

Hronom avatar Hronom commented on August 26, 2024

I try to make more minimal code later, but here is the code what i have now: https://github.com/CoreTec/GraphicSystem
In GraphicSystem all init things happens. In GraphicSystemTest i draw TGUI example with GraphicSystem.

from tgui.

texus avatar texus commented on August 26, 2024

I have been able to reproduce the error now (based on what you had in GraphicsSystemTest), so a minimal example isn't needed anymore.

I'll see if I can find the issue.
The errors only started after loading a font, so I already know where to start looking.

from tgui.

lukasschmit avatar lukasschmit commented on August 26, 2024

I downloaded the v0.6 Release Candidate Pre-compiled Binaries for Visual Studio 2012 32 bits, and there is a similar issue. I created the gui, loaded the font, and made two edit boxes. When I try to draw the gui

An internal OpenGL call failed in RenderTarget.cpp (61) : GL_INVALID_VALUE, a numeric argument is out of range

Is printed to the console.

from tgui.

texus avatar texus commented on August 26, 2024

Could you try with the beta version? (http://tgui.eu/wp-content/uploads/2013/03/TGUI-0.6-beta-Visual-C++11-2012-32-bits.zip)
If that version is working then something went wrong afterwards.

If you have a lot of time then you can try with different version that you compile yourself, to locate the commit where it went wrong.
Otherwise you'll have to wait until I find time to test this what is going wrong. And I don't have much time right now.

from tgui.

texus avatar texus commented on August 26, 2024

Can you send me the exact code that I need to reproduce this?

Do you only receive this error with edit boxes, or also with other widgets? If you also get it with other widgets, do you also get it when drawing images and text directly with sfml?
Do you still get the error when not loading a font?

from tgui.

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.