]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/pivot.h
Inject OpenGLBinding instead of using GlobalOpenGL() everywhere
[xonotic/netradiant.git] / libs / pivot.h
index 93cb354941cb79071908c7c489020bae814d9509..0a9eed9620f5e9894bfe0062137756c1e3950a9e 100644 (file)
@@ -253,7 +253,7 @@ RenderablePivot(){
        m_vertices.push_back( PointVertex( Vertex3f( 0, 0, 16 ), g_colour_z ) );
 }
 
-void render( RenderStateFlags state ) const {
+void render( OpenGLBinding &GL, RenderStateFlags state ) const {
        if ( m_vertices.size() == 0 ) {
                return;
        }