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

LibSoftGPU: Move alpha test into separate function

This commit is contained in:
Stephan Unverwerth 2022-01-06 21:28:16 +01:00 committed by Ali Mohammad Pur
parent 68a1727547
commit 941e9d9922
2 changed files with 37 additions and 24 deletions

View file

@ -98,6 +98,7 @@ private:
void rasterize_triangle(const Triangle& triangle);
void setup_blend_factors();
void shade_fragments(PixelQuad&);
bool test_alpha(PixelQuad&);
private:
RefPtr<Gfx::Bitmap> m_render_target;