My system reports that im using OpenGL 4.2: https://pastebin.com/uXu3BLxX But when i try to use that OpenGL vesion to write a program with it, it fails, the maximum version i can use for that is OpenGL 2.1, why does that happen?

  • tony@lemmy.hoyle.me.uk
    link
    fedilink
    arrow-up
    3
    ·
    9 months ago

    2.1 is ancient.

    A heck of a lot of old stuff has been deprecated in the intervening years… it’s possible your drivers don’t support emulating that old… although I’d found most can still do 1.x (because it was relatively simple, fixed pipeline).

    TBH though if you’re writing anything new I’d start with vulkan, as it’s really the next gen and nowadays supported everywhere.