Removed SDL2 API calls from SDL1 backend
This commit is contained in:
parent
91fd89cd8d
commit
4d6a9b4dc3
|
@ -3,8 +3,8 @@ set -e
|
|||
|
||||
function compiler() {
|
||||
make clean
|
||||
make RENDER_API=$1 WINDOW_API=$2 AUDIO_API=$3 CONTROLLER_API=$4
|
||||
mv ./build ./build_$5
|
||||
make RENDER_API=$1 WINDOW_API=$2 AUDIO_API=$3 CONTROLLER_API=$4 TARGET_BITS=$5
|
||||
mv ./build ./build_$6
|
||||
}
|
||||
|
||||
function compiler_no_discord() {
|
||||
|
@ -13,14 +13,16 @@ function compiler_no_discord() {
|
|||
mv ./build ./build_no_discord
|
||||
}
|
||||
|
||||
compiler GL_LEGACY SDL1 SDL1 SDL1 legacy_1
|
||||
compiler GL SDL1 SDL1 SDL1 gl_1
|
||||
compiler D3D11 DXGI SDL1 SDL1 d3d11_1
|
||||
compiler D3D12 DXGI SDL1 SDL1 d3d12_1
|
||||
compiler GL_LEGACY SDL1 SDL1 SDL1 64 legacy_1
|
||||
#compiler GL SDL1 SDL1 SDL1 64 gl_1
|
||||
#compiler D3D11 DXGI SDL1 SDL1 64 d3d11_1
|
||||
#compiler D3D12 DXGI SDL1 SDL1 64 d3d12_1
|
||||
|
||||
compiler GL_LEGACY SDL2 SDL2 SDL2 legacy_2
|
||||
compiler GL SDL2 SDL2 SDL2 gl_2
|
||||
compiler D3D11 DXGI SDL2 SDL2 d3d11_2
|
||||
compiler D3D12 DXGI SDL2 SDL2 d3d12_2
|
||||
compiler GL_LEGACY SDL2 SDL2 SDL2 64 legacy_2
|
||||
compiler GL SDL2 SDL2 SDL2 64 gl_2
|
||||
compiler D3D11 DXGI SDL2 SDL2 64 d3d11_2
|
||||
compiler D3D12 DXGI SDL2 SDL2 64 d3d12_2
|
||||
|
||||
compiler GL SDL2 SDL2 SDL2 32 gl_2_32
|
||||
|
||||
compiler_no_discord
|
||||
|
|
|
@ -266,10 +266,10 @@ static void gfx_sdl_shutdown(void) {
|
|||
SDL_Quit();
|
||||
}
|
||||
|
||||
static void gfx_sdl_start_text_input(void) { SDL_StartTextInput(); }
|
||||
static void gfx_sdl_stop_text_input(void) { SDL_StopTextInput(); }
|
||||
static char* gfx_sdl_get_clipboard_text(void) { return SDL_GetClipboardText(); }
|
||||
static void gfx_sdl_set_clipboard_text(char* text) { SDL_SetClipboardText(text); }
|
||||
static void gfx_sdl_start_text_input(void) { return; }
|
||||
static void gfx_sdl_stop_text_input(void) { return; }
|
||||
static char* gfx_sdl_get_clipboard_text(void) { return NULL; }
|
||||
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); }
|
||||
|
||||
struct GfxWindowManagerAPI gfx_sdl = {
|
||||
|
|
Loading…
Reference in New Issue