mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 18:19:19 +02:00
further pruning of legacy render code, now runs on opengl 3.3 core
profile
This commit is contained in:
@@ -84,7 +84,7 @@ private:
|
||||
|
||||
// methods:
|
||||
void
|
||||
upload() { ::glLoadMatrixf( glm::value_ptr( m_stack.top() ) ); }
|
||||
upload() { }
|
||||
|
||||
// members:
|
||||
mat4_stack m_stack;
|
||||
@@ -109,7 +109,7 @@ public:
|
||||
case GL_PROJECTION: { m_mode = stack_mode::gl_projection; break; }
|
||||
case GL_TEXTURE: { m_mode = stack_mode::gl_texture; break; }
|
||||
default: { break; } }
|
||||
::glMatrixMode( Mode ); }
|
||||
}
|
||||
glm::mat4 const &
|
||||
data( GLuint const Mode = -1 ) const {
|
||||
switch( Mode ) {
|
||||
|
||||
Reference in New Issue
Block a user