mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 12:05:11 +00:00
Removed SDL2 API calls from SDL1 backend
This commit is contained in:
parent
710a7e4749
commit
a5b8483100
2 changed files with 16 additions and 14 deletions
|
@ -3,8 +3,8 @@ set -e
|
||||||
|
|
||||||
function compiler() {
|
function compiler() {
|
||||||
make clean
|
make clean
|
||||||
make RENDER_API=$1 WINDOW_API=$2 AUDIO_API=$3 CONTROLLER_API=$4
|
make RENDER_API=$1 WINDOW_API=$2 AUDIO_API=$3 CONTROLLER_API=$4 TARGET_BITS=$5
|
||||||
mv ./build ./build_$5
|
mv ./build ./build_$6
|
||||||
}
|
}
|
||||||
|
|
||||||
function compiler_no_discord() {
|
function compiler_no_discord() {
|
||||||
|
@ -13,14 +13,16 @@ function compiler_no_discord() {
|
||||||
mv ./build ./build_no_discord
|
mv ./build ./build_no_discord
|
||||||
}
|
}
|
||||||
|
|
||||||
compiler GL_LEGACY SDL1 SDL1 SDL1 legacy_1
|
compiler GL_LEGACY SDL1 SDL1 SDL1 64 legacy_1
|
||||||
compiler GL SDL1 SDL1 SDL1 gl_1
|
#compiler GL SDL1 SDL1 SDL1 64 gl_1
|
||||||
compiler D3D11 DXGI SDL1 SDL1 d3d11_1
|
#compiler D3D11 DXGI SDL1 SDL1 64 d3d11_1
|
||||||
compiler D3D12 DXGI SDL1 SDL1 d3d12_1
|
#compiler D3D12 DXGI SDL1 SDL1 64 d3d12_1
|
||||||
|
|
||||||
compiler GL_LEGACY SDL2 SDL2 SDL2 legacy_2
|
compiler GL_LEGACY SDL2 SDL2 SDL2 64 legacy_2
|
||||||
compiler GL SDL2 SDL2 SDL2 gl_2
|
compiler GL SDL2 SDL2 SDL2 64 gl_2
|
||||||
compiler D3D11 DXGI SDL2 SDL2 d3d11_2
|
compiler D3D11 DXGI SDL2 SDL2 64 d3d11_2
|
||||||
compiler D3D12 DXGI SDL2 SDL2 d3d12_2
|
compiler D3D12 DXGI SDL2 SDL2 64 d3d12_2
|
||||||
|
|
||||||
|
compiler GL SDL2 SDL2 SDL2 32 gl_2_32
|
||||||
|
|
||||||
compiler_no_discord
|
compiler_no_discord
|
||||||
|
|
|
@ -266,10 +266,10 @@ static void gfx_sdl_shutdown(void) {
|
||||||
SDL_Quit();
|
SDL_Quit();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gfx_sdl_start_text_input(void) { SDL_StartTextInput(); }
|
static void gfx_sdl_start_text_input(void) { return; }
|
||||||
static void gfx_sdl_stop_text_input(void) { SDL_StopTextInput(); }
|
static void gfx_sdl_stop_text_input(void) { return; }
|
||||||
static char* gfx_sdl_get_clipboard_text(void) { return SDL_GetClipboardText(); }
|
static char* gfx_sdl_get_clipboard_text(void) { return NULL; }
|
||||||
static void gfx_sdl_set_clipboard_text(char* text) { SDL_SetClipboardText(text); }
|
static void gfx_sdl_set_clipboard_text(char* text) { return; }
|
||||||
static void gfx_sdl_set_cursor_visible(bool visible) { SDL_ShowCursor(visible ? SDL_ENABLE : SDL_DISABLE); }
|
static void gfx_sdl_set_cursor_visible(bool visible) { SDL_ShowCursor(visible ? SDL_ENABLE : SDL_DISABLE); }
|
||||||
|
|
||||||
struct GfxWindowManagerAPI gfx_sdl = {
|
struct GfxWindowManagerAPI gfx_sdl = {
|
||||||
|
|
Loading…
Reference in a new issue