| | |
| | | /* |
| | | Simple DirectMedia Layer |
| | | Copyright (C) 1997-2016 Sam Lantinga <slouken@libsdl.org> |
| | | Copyright (C) 1997-2018 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 |
| | |
| | | */ |
| | | #include "../../SDL_internal.h" |
| | | |
| | | #ifndef _SDL_emscriptenframebuffer_h |
| | | #define _SDL_emscriptenframebuffer_h |
| | | #ifndef SDL_emscriptenframebuffer_h_ |
| | | #define SDL_emscriptenframebuffer_h_ |
| | | |
| | | extern int Emscripten_CreateWindowFramebuffer(_THIS, SDL_Window * window, Uint32 * format, void ** pixels, int *pitch); |
| | | extern int Emscripten_UpdateWindowFramebuffer(_THIS, SDL_Window * window, const SDL_Rect * rects, int numrects); |
| | | extern void Emscripten_DestroyWindowFramebuffer(_THIS, SDL_Window * window); |
| | | |
| | | #endif /* _SDL_emscriptenframebuffer_h */ |
| | | #endif /* SDL_emscriptenframebuffer_h_ */ |
| | | |
| | | /* vi: set ts=4 sw=4 expandtab: */ |