src/platform/opengl/gl.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 GL_H
7#define GL_H
8
9#ifdef __APPLE__
10#include <OpenGL/gl.h>
11#else
12#include <GL/gl.h>
13#endif
14
15#include "platform/video-backend.h"
16
17struct GBAGLContext {
18 struct VideoBackend d;
19
20 GLuint tex;
21};
22
23void GBAGLContextCreate(struct GBAGLContext*);
24
25#endif