mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:08:12 +00:00
LibGL: Initialize all GL context matrices with the identity matrix
This commit is contained in:
parent
36bd230ffa
commit
cbf93ee687
1 changed files with 3 additions and 4 deletions
|
@ -122,10 +122,9 @@ private:
|
|||
|
||||
GLenum m_current_draw_mode;
|
||||
GLenum m_current_matrix_mode;
|
||||
FloatMatrix4x4 m_projection_matrix;
|
||||
FloatMatrix4x4 m_model_view_matrix;
|
||||
|
||||
FloatMatrix4x4 m_current_matrix;
|
||||
FloatMatrix4x4 m_projection_matrix = FloatMatrix4x4::identity();
|
||||
FloatMatrix4x4 m_model_view_matrix = FloatMatrix4x4::identity();
|
||||
FloatMatrix4x4 m_current_matrix = FloatMatrix4x4::identity();
|
||||
|
||||
Vector<FloatMatrix4x4> m_projection_matrix_stack;
|
||||
Vector<FloatMatrix4x4> m_model_view_matrix_stack;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue