mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-09 17:51:03 +00:00
21 lines
412 B
C++
21 lines
412 B
C++
|
|
/*
|
||
|
|
* Copyright (c) 2021, Jesse Buhagiar <jooster669@gmail.com>
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
|
*/
|
||
|
|
|
||
|
|
#include "GLContext.h"
|
||
|
|
#include <LibGL/GL/gl.h>
|
||
|
|
|
||
|
|
extern GL::GLContext* g_gl_context;
|
||
|
|
|
||
|
|
void glGenTextures(GLsizei n, GLuint* textures)
|
||
|
|
{
|
||
|
|
g_gl_context->gl_gen_textures(n, textures);
|
||
|
|
}
|
||
|
|
|
||
|
|
void glDeleteTextures(GLsizei n, const GLuint* textures)
|
||
|
|
{
|
||
|
|
g_gl_context->gl_delete_textures(n, textures);
|
||
|
|
}
|