Added mode-getting functions for GHOST under X11 (GNU/Linux).

Enabled xvidmode by default in cmake.
Patch approved by Campbell.
This commit is contained in:
Alex Fraser
2012-01-11 12:28:31 +00:00
parent 37fc8b4dbb
commit dcef7346eb
2 changed files with 61 additions and 3 deletions

View File

@@ -156,7 +156,7 @@ endif()
if(UNIX AND NOT APPLE)
option(WITH_X11_XINPUT "Enable X11 Xinput (tablet support and unicode input)" ON)
option(WITH_X11_XF86VMODE "Enable X11 video mode switching" OFF)
option(WITH_X11_XF86VMODE "Enable X11 video mode switching" ON)
option(WITH_BUILTIN_GLEW "Use GLEW OpenGL wrapper library bundled with blender" ON)
option(WITH_XDG_USER_DIRS "Build with XDG Base Directory Specification (only config and documents for now)" OFF)
mark_as_advanced(WITH_XDG_USER_DIRS)