Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. OSX Create OpenGL context 3.2

OSX Create OpenGL context 3.2

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 319 Views
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on 24 May 2016, 09:29 last edited by
    #1

    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
    0

    1/1

    24 May 2016, 09:29

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved