Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Forum Updated on Feb 6th

    Unsolved OSX Create OpenGL context 3.2

    General and Desktop
    1
    1
    275
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User last edited by

      Hi,

      I want to create an OpenGL context in core profile with Qt. I declare my context :

      QSurfaceFormat fmt;
      fmt.setProfile(QSurfaceFormat::CoreProfile);
      fmt.setVersion(3,2);
      fmt.setSamples(0);
      fmt.setSwapBehavior(QSurfaceFormat::DoubleBuffer);
      QSurfaceFormat::setDefaultFormat(fmt);
      

      But when I check the GL_VERSION I have: GL VERSION: 4.1 ATI-1.42.11

      Why it isn't 3.2?

      Regarde,
      Robin

      1 Reply Last reply Reply Quote 0
      • First post
        Last post