taisei/src/renderer/glescommon/gles.h
2024-05-17 14:11:48 +02:00

16 lines
503 B
C

/*
* This software is licensed under the terms of the MIT License.
* See COPYING for further information.
* ---
* Copyright (c) 2011-2024, Lukas Weber <laochailan@web.de>.
* Copyright (c) 2012-2024, Andrei Alexeyev <akari@taisei-project.org>.
*/
#pragma once
#include "taisei.h"
#include "../common/backend.h"
void gles_init(RendererBackend *gles_backend, int major, int minor);
void gles_init_context(SDL_Window *w);
bool gles_texture_dump(Texture *tex, uint mipmap, uint layer, Pixmap *dst);