mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibGL: Add support for GL_BLEND in glEnable() and glDisable()
This commit is contained in:
committed by
Linus Groh
parent
279737642c
commit
d6e9b433cf
@@ -7,6 +7,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "DepthBuffer.h"
|
||||
#include "GL/gl.h"
|
||||
#include "GLStruct.h"
|
||||
#include <AK/OwnPtr.h>
|
||||
#include <LibGfx/Bitmap.h>
|
||||
@@ -15,8 +16,11 @@
|
||||
namespace GL {
|
||||
|
||||
struct RasterizerOptions {
|
||||
bool shade_smooth { false };
|
||||
bool shade_smooth { true };
|
||||
bool enable_depth_test { false };
|
||||
bool enable_blending { false };
|
||||
GLenum blend_source_factor { GL_ONE };
|
||||
GLenum blend_destination_factor { GL_ONE };
|
||||
};
|
||||
|
||||
class SoftwareRasterizer final {
|
||||
|
||||
Reference in New Issue
Block a user