mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +00:00
LibGL: Implement glDrawBuffer
This commit is contained in:
parent
b069c1306c
commit
7cbaaf8366
7 changed files with 52 additions and 1 deletions
|
@ -334,7 +334,7 @@ static void rasterize_triangle(const RasterizerOptions& options, Gfx::Bitmap& re
|
|||
}
|
||||
|
||||
// We will not update the color buffer at all
|
||||
if (!options.color_mask)
|
||||
if (!options.color_mask || options.draw_buffer == GL_NONE)
|
||||
continue;
|
||||
|
||||
// Draw the pixels according to the previously generated mask
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue