mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:17:36 +00:00
LibGL: Implement glFogfv
This currently just sets the fog colour in the rasterizer.
This commit is contained in:
parent
ffa7da0ca5
commit
7f1cd54b80
7 changed files with 45 additions and 0 deletions
15
Userland/Libraries/LibGL/GLFog.cpp
Normal file
15
Userland/Libraries/LibGL/GLFog.cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Jesse Buhagiar <jooster669@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include "GL/gl.h"
|
||||
#include "GLContext.h"
|
||||
|
||||
extern GL::GLContext* g_gl_context;
|
||||
|
||||
void glFogfv(GLenum pname, GLfloat* params)
|
||||
{
|
||||
g_gl_context->gl_fogfv(pname, params);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue