LibGL: Implement glPolygonOffset

This commit is contained in:
Stephan Unverwerth 2021-08-31 20:50:01 +02:00 committed by Ali Mohammad Pur
commit 15299b763c
Notes: sideshowbarker 2024-07-18 04:54:11 +09:00
7 changed files with 26 additions and 1 deletions

View file

@ -45,6 +45,8 @@ struct RasterizerOptions {
GLfloat fog_start { 0.0f };
GLfloat fog_end { 1.0f };
GLenum draw_buffer { GL_BACK };
GLfloat depth_offset_factor { 0 };
GLfloat depth_offset_constant { 0 };
};
class SoftwareRasterizer final {