From 03f8528315fa46c95991a34f3325d7b33ae5538c Mon Sep 17 00:00:00 2001 From: Edward Rudd <urkle@outoforder.cc> Date: Sat, 02 May 2020 21:48:36 +0000 Subject: [PATCH] Update source to SDL2 2.0.12 --- source/src/video/offscreen/SDL_offscreenframebuffer_c.h | 19 +++++-------------- 1 files changed, 5 insertions(+), 14 deletions(-) diff --git a/source/src/video/mir/SDL_mirevents.h b/source/src/video/offscreen/SDL_offscreenframebuffer_c.h similarity index 68% rename from source/src/video/mir/SDL_mirevents.h rename to source/src/video/offscreen/SDL_offscreenframebuffer_c.h index 4b0f209..d8577c9 100644 --- a/source/src/video/mir/SDL_mirevents.h +++ b/source/src/video/offscreen/SDL_offscreenframebuffer_c.h @@ -1,6 +1,6 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org> + Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -19,19 +19,10 @@ 3. This notice may not be removed or altered from any source distribution. */ -/* - Contributed by Brandon Schaefer, <brandon.schaefer@canonical.com> -*/ +#include "../../SDL_internal.h" -#ifndef SDL_mirevents_h_ -#define SDL_mirevents_h_ - -#include <mir_toolkit/mir_client_library.h> - -extern void -MIR_HandleEvent(MirWindow*, MirEvent const* ev, void* context); - -#endif /* SDL_mirevents_h_ */ +extern int SDL_OFFSCREEN_CreateWindowFramebuffer(_THIS, SDL_Window * window, Uint32 * format, void ** pixels, int *pitch); +extern int SDL_OFFSCREEN_UpdateWindowFramebuffer(_THIS, SDL_Window * window, const SDL_Rect * rects, int numrects); +extern void SDL_OFFSCREEN_DestroyWindowFramebuffer(_THIS, SDL_Window * window); /* vi: set ts=4 sw=4 expandtab: */ - -- Gitblit v1.9.3