mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
LibGL+LibSoftGPU: Implement eye, clip, NDC and window coordinates
This follows the OpenGL 1.5 spec much more closely. We need to store the eye coordinates especially, since they are used in texture coordinate generation and fog fragment depth calculation.
This commit is contained in:
parent
fd4d6b0031
commit
fef7f7159c
5 changed files with 76 additions and 60 deletions
|
@ -289,7 +289,7 @@ void SoftwareGLContext::gl_end()
|
|||
mv_elements[2][0], mv_elements[2][1], mv_elements[2][2]);
|
||||
normal_transform = normal_transform.inverse();
|
||||
|
||||
m_rasterizer.draw_primitives(primitive_type, m_projection_matrix * m_model_view_matrix, normal_transform, m_texture_matrix, m_vertex_list, enabled_texture_units);
|
||||
m_rasterizer.draw_primitives(primitive_type, m_model_view_matrix, normal_transform, m_projection_matrix, m_texture_matrix, m_vertex_list, enabled_texture_units);
|
||||
|
||||
m_vertex_list.clear_with_capacity();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue