mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:37:45 +00:00
LibSoftGPU: Make alpha testing a static function
There is no need to access the Device's members for alpha testing; pass in the required alpha function and reference value.
This commit is contained in:
parent
bdb2be8f9e
commit
681695a07a
2 changed files with 34 additions and 35 deletions
|
@ -99,7 +99,6 @@ private:
|
|||
void rasterize_triangle(Triangle&);
|
||||
void setup_blend_factors();
|
||||
void shade_fragments(PixelQuad&);
|
||||
void test_alpha(PixelQuad&);
|
||||
|
||||
RefPtr<FrameBuffer<GPU::ColorType, GPU::DepthType, GPU::StencilType>> m_frame_buffer {};
|
||||
GPU::RasterizerOptions m_options;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue