]> git.tdb.fi Git - r2c2.git/blobdiff - source/designer/designer.cpp
Mscellaneous adaptations to mspgl API changes
[r2c2.git] / source / designer / designer.cpp
index c5f40bd8d6cdc281e4468ad12d07c6d2a13bfdd4..e67c36f71377dabf1f7973f4813505c153bc9ffc 100644 (file)
@@ -513,16 +513,8 @@ void Designer::render()
                measure.render();
        }
 
-       GL::matrix_mode(GL::PROJECTION);
-       GL::load_identity();
-       GL::ortho_bottomleft(window.get_width(), window.get_height());
-       GL::matrix_mode(GL::MODELVIEW);
-       GL::load_identity();
-
-       GL::Bind bind_blend(GL::Blend::alpha());
        root.render();
-       // XXX Should fix GLtk so these would not be needed
-       GL::Texture::unbind();
+       // XXX Should fix GLtk so this would not be needed
        glColor3f(1.0, 1.0, 1.0);
 }