1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:07:45 +00:00

LibGL: Add defines and stubs for glBlendFunc()

This commit is contained in:
Stephan Unverwerth 2021-05-15 22:45:05 +02:00 committed by Linus Groh
parent 1b358d3b94
commit 279737642c
6 changed files with 92 additions and 0 deletions

View file

@ -0,0 +1,15 @@
/*
* 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);
}