diff --git a/wadsrc/static/language.enu b/wadsrc/static/language.enu index 4bb6c6d7d..f12fab551 100644 --- a/wadsrc/static/language.enu +++ b/wadsrc/static/language.enu @@ -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"; diff --git a/wadsrc/static/menudef.txt b/wadsrc/static/menudef.txt index e0d58376a..e27c98a29 100644 --- a/wadsrc/static/menudef.txt +++ b/wadsrc/static/menudef.txt @@ -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" + } } /*=======================================