Dependencies: Remove GLFW, Add SDL2

citra: Remove GLFW, Add SDL2

FindSDL2: Do not CACHE SDL2_* variables if library is not found

EmuWindow_SDL2: Set minimal client area at initialisation time

EmuWindow_SDL2: Corrections

EmuWindow_SDL2: Fix no decorations on startup on OS X

cmake: windows_copy_files
This commit is contained in:
MerryMage 2016-03-01 17:24:18 +00:00
parent 2b00bdec1f
commit ba2a54a9dd
17 changed files with 551 additions and 304 deletions

View file

@ -27,7 +27,7 @@
#include "core/loader/loader.h"
#include "citra/config.h"
#include "citra/emu_window/emu_window_glfw.h"
#include "citra/emu_window/emu_window_sdl2.h"
#include "video_core/video_core.h"
@ -76,7 +76,7 @@ int main(int argc, char **argv) {
GDBStub::ToggleServer(Settings::values.use_gdbstub);
GDBStub::SetServerPort(static_cast<u32>(Settings::values.gdbstub_port));
EmuWindow_GLFW* emu_window = new EmuWindow_GLFW;
EmuWindow_SDL2* emu_window = new EmuWindow_SDL2;
VideoCore::g_hw_renderer_enabled = Settings::values.use_hw_renderer;
VideoCore::g_shader_jit_enabled = Settings::values.use_shader_jit;