So I use C++, SFML and OpenGL 3.2 in my project. I am trying to add a limited initial Mac support so people can run through Wine. I have been able to do so in Linux by asking for a core profile (it returns a 3.3). It works great! The same build does not work on Mac, users report it only returns 2.1 even when their hardware and OS is capable of 3.2 or higher (10.9.5, HD 4000). This was the problem with Linux prior to specifying the core profile, seems I am stuck in legacy.
It is a bit difficult as I do not have a machine to test on as I do with PC/Linux. It is on my list to get but not highest priority use of funds right now. I have seen in my searching that additionally specifying forward compatibility might be necessary for it to work, but that does not change anything either. Same thing with glewExperimental set to true. The user reports did not specify the exact version of Wine, but I know at least 1 downloaded it specifically for my program so it should be the latest as of last week.
Anyone have experience with this to point me in the right direction? It is possible to get 3.2 or higher right now? Tricks? Things to Try?
OpenGL 3.2 on Mac?
Re: OpenGL 3.2 on Mac?
I have NOT looked through current Wine code... but to specify to use Core OpenGL on Mac (newest versions), and not the default legacy (2.1), it has to be specifically checked and set. I do not think current Wine does this... I've only ever seen 3.2.
You could dig into the Wine source and see about fixing it... or making a special Wine build that works?
https://developer.apple.com/library/mac ... rmats.html
You could dig into the Wine source and see about fixing it... or making a special Wine build that works?
https://developer.apple.com/library/mac ... rmats.html
Re: OpenGL 3.2 on Mac?
Interesting, I would have though Wine just passes through my requests and I do request core, especially since it works on Linux. I might dig into the code. Anyone know for sure?doh123 wrote:it has to be specifically checked and set
Did you mean 2.1 here?doh123 wrote:I've only ever seen 3.2
Re: OpenGL 3.2 on Mac?
you are right, I meant 2.1...HartLabs wrote:Interesting, I would have though Wine just passes through my requests and I do request core, especially since it works on Linux. I might dig into the code. Anyone know for sure?doh123 wrote:it has to be specifically checked and set
Did you mean 2.1 here?doh123 wrote:I've only ever seen 3.2
I do not know where this is set in the code... Wine might be passing this to OS X incorrectly since its different than Linux, or it might not pass anything at all, and OS X defaults to 2.1.
Re: OpenGL 3.2 on Mac?
So does this mean that there is a way to force WINE to use opengl 3.2? I'm on a Mac that supports up to OpenGL 3.3, but I'm getting the same problem with a program I'm trying to run telling me that I'm on 2.1. Is there a winetricks command or something to force the program to use the correct OpenGL on my system?