blob: 10bec6f806cd364aa9121471da1cd2d9439b18f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/*
* Copyright (c) 2021, Stephan Unverwerth <s.unverwerth@gmx.de>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "GL/gl.h"
#include "GLContext.h"
extern GL::GLContext* g_gl_context;
void glBlendFunc(GLenum sfactor, GLenum dfactor)
{
return g_gl_context->gl_blend_func(sfactor, dfactor);
}
void glAlphaFunc(GLenum func, GLclampf ref)
{
return g_gl_context->gl_alpha_func(func, ref);
}
|