mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-22 09:18:55 +00:00
LibGL: Add defines and stubs for glBlendFunc()
This commit is contained in:
parent
1b358d3b94
commit
279737642c
Notes:
sideshowbarker
2024-07-18 18:03:48 +09:00
Author: https://github.com/sunverwerth
Commit: 279737642c
Pull-request: https://github.com/SerenityOS/serenity/pull/7156
6 changed files with 92 additions and 0 deletions
15
Userland/Libraries/LibGL/GLBlend.cpp
Normal file
15
Userland/Libraries/LibGL/GLBlend.cpp
Normal 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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue