all repos — mgba @ 88212fc2deb72b3ab85313852b0b091edc88403b

mGBA Game Boy Advance Emulator

src/platform/sdl/gl-common.h (view raw)

 1/* Copyright (c) 2013-2015 Jeffrey Pfau
 2 *
 3 * This Source Code Form is subject to the terms of the Mozilla Public
 4 * License, v. 2.0. If a copy of the MPL was not distributed with this
 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 6#ifndef SDL_GL_COMMON_H
 7#define SDL_GL_COMMON_H
 8
 9#include <mgba-util/common.h>
10
11CXX_GUARD_START
12
13struct VideoBackend;
14struct mSDLRenderer;
15void mSDLGLDoViewport(int w, int h, struct VideoBackend* v);
16void mSDLGLCommonSwap(struct VideoBackend* context);
17bool mSDLGLCommonInit(struct mSDLRenderer* renderer);
18
19CXX_GUARD_END
20
21#endif