mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
Cocoa window uses OpenGL 2.1 for software renderer
This commit is contained in:
parent
557958577b
commit
7a43fa6ed7
1 changed files with 5 additions and 0 deletions
|
@ -533,6 +533,11 @@ CocoaVideo::CocoaVideo()
|
||||||
// There is no support for OpenGL 3.3 before Mavericks
|
// There is no support for OpenGL 3.3 before Mavericks
|
||||||
defaultProfile = NSOpenGLProfileVersionLegacy;
|
defaultProfile = NSOpenGLProfileVersionLegacy;
|
||||||
}
|
}
|
||||||
|
else if (0 == vid_renderer && 0 == vid_glswfb)
|
||||||
|
{
|
||||||
|
// Software renderer uses OpenGL 2.1 for blitting
|
||||||
|
defaultProfile = NSOpenGLProfileVersionLegacy;
|
||||||
|
}
|
||||||
else if (const char* const glversion = Args->CheckValue("-glversion"))
|
else if (const char* const glversion = Args->CheckValue("-glversion"))
|
||||||
{
|
{
|
||||||
// Check for explicit version specified in command line
|
// Check for explicit version specified in command line
|
||||||
|
|
Loading…
Reference in a new issue