]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/model/model.cpp
Disable some debug code that slows down the editor to a crawl (compile fails without...
[xonotic/netradiant.git] / plugins / model / model.cpp
index defa472aa0fd56503aea26bb1216fab8044062be..b8df1740b72c55797db8e2b9f82b3f263068b0a8 100644 (file)
@@ -113,7 +113,7 @@ void render( RenderStateFlags state ) const {
        glVertexPointer( 3, GL_FLOAT, sizeof( ArbitraryMeshVertex ), &m_vertices.data()->vertex );
        glDrawElements( GL_TRIANGLES, GLsizei( m_indices.size() ), RenderIndexTypeID, m_indices.data() );
 
-#if defined( _DEBUG )
+#if 0
        GLfloat modelview[16];
        glGetFloatv( GL_MODELVIEW_MATRIX, modelview ); // I know this is slow as hell, but hey - we're in _DEBUG
        Matrix4 modelview_inv(