- Added vid_glswfb to menu on Mac.

This commit is contained in:
Rachael Alexanderson 2017-05-27 08:01:56 -04:00
parent d0c1dc9b02
commit 9435a09f1e
2 changed files with 11 additions and 0 deletions

View file

@ -2362,6 +2362,7 @@ OPTVAL_FULLSCREENONLY = "Fullscreen only";
OPTVAL_GL = "OpenGL";
OPTVAL_D3D = "Direct3D";
OPTVAL_SDL = "SDL";
OPTVAL_COCOA = "Cocoa";
OPTVAL_HWPOLY = "OpenGL-Accelerated";
OPTVAL_SWDOOM = "Doom Software Renderer";
OPTVAL_DEDICATED = "High-Performance";

View file

@ -1777,6 +1777,12 @@ OptionValue "GLSDL"
1, "$OPTVAL_GL"
}
OptionValue "GLCOCOA"
{
0, "$OPTVAL_COCOA"
1, "$OPTVAL_GL"
}
OptionMenu RendererMenu
{
Title "$RNDMNU_TITLE"
@ -1791,6 +1797,10 @@ OptionMenu RendererMenu
{
Option "$RNDMNU_CANVAS", "vid_glswfb", "GLSDL"
}
IfOption(Mac)
{
Option "$RNDMNU_CANVAS", "vid_glswfb", "GLCOCOA"
}
}
/*=======================================