Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Any workaround for Lion OpenGL 3.2 Support?  (Read 9771 times)

0 Members and 1 Guest are viewing this topic.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: Any workaround for Lion OpenGL 3.2 Support?
« Reply #15 on: October 27, 2012, 08:58:55 am »
No prob.

But it's odd. Regarding Apple's OGL capabilities the supported context are 2.1 or 3.2. There's nothing in-between.

What is your Mac configuration ?
SFML / OS X developer

golgoth

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: Any workaround for Lion OpenGL 3.2 Support?
« Reply #16 on: December 20, 2012, 05:50:17 am »
Hello there,

As I'm also seeking a 3.2 context on Mac OS X, I tried the workaround mentioned by Hiura:
Quote
just add the following code into sf::priv::SFContext::createContext (src/SFML/Window/OSX/SFContext.mm:150)
and rebuild the Window library... but I still get a 2.1 context, is there anyone who made this work successfully?

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: Any workaround for Lion OpenGL 3.2 Support?
« Reply #17 on: December 20, 2012, 05:17:06 pm »
Are you sure that the context settings of your sf::Window or sf::Context are set to use 3.2 ?
SFML / OS X developer

golgoth

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: Any workaround for Lion OpenGL 3.2 Support?
« Reply #18 on: December 21, 2012, 04:34:41 pm »
Yes, I'm very sure! I'm using a Hackintosh with a Geforce GTX 690 so we might have a problem there but GLview says it's 3.2 capable.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: Any workaround for Lion OpenGL 3.2 Support?
« Reply #19 on: December 25, 2012, 08:00:16 pm »
Quote
I'm using a Hackintosh with a Geforce GTX 690 so we might have a problem there
Most probably. Sorry, I can't you much.
SFML / OS X developer

golgoth

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: Any workaround for Lion OpenGL 3.2 Support?
« Reply #20 on: January 07, 2013, 04:58:00 am »
Any idea how I could track the 3.2 context issue, as when it will be implemented officially?

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: Any workaround for Lion OpenGL 3.2 Support?
« Reply #21 on: January 07, 2013, 10:04:49 am »
All useful information related to this is on github here : https://github.com/SFML/SFML/issues/84

Additionally, this software might be helpful : http://www.realtech-vr.com/glview/
SFML / OS X developer

golgoth

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: Any workaround for Lion OpenGL 3.2 Support?
« Reply #22 on: January 07, 2013, 06:30:17 pm »
Would have been faster to fix the issue on the spot than writing the ticket... go mantognini go!

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: Any workaround for Lion OpenGL 3.2 Support?
« Reply #23 on: January 07, 2013, 07:41:31 pm »
Please avoid post like this one in the future! We try to create a nice community here... Your sarcasm only hurts and is in no way helpful for making SFML better.

Also, you are wrong... read the issue's description once more.
SFML / OS X developer

golgoth

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Re: Any workaround for Lion OpenGL 3.2 Support?
« Reply #24 on: January 07, 2013, 08:14:58 pm »
Hiura, you are right, I see how it could be interpreted. My apologies if I hurt anyone.

That said, I didn't see that limitation coming and it sets me back a great deal. I hope it will be addressed sooner then later.  I'd be willing to test any work made in that direction if that could help.

 

anything