diff --git a/src/tracks/quad_graph.cpp b/src/tracks/quad_graph.cpp index 5ddec7624..17eea0ff1 100644 --- a/src/tracks/quad_graph.cpp +++ b/src/tracks/quad_graph.cpp @@ -1056,25 +1056,6 @@ video::ITexture *QuadGraph::makeMiniMap(const core::dimension2du &origdimension, return NULL; } - if (!irr_driver->isGLSL()) - return texture; - - GaussianBlurProvider * const gacb = (GaussianBlurProvider *) irr_driver->getCallback(ES_GAUSSIAN3H); - gacb->setResolution(UserConfigParams::m_width, UserConfigParams::m_height); - - ScreenQuad sq(irr_driver->getVideoDriver()); - sq.getMaterial().MaterialType = irr_driver->getShader(ES_GAUSSIAN3H); - sq.setTexture(texture); - - // Horizontal pass - sq.render(irr_driver->getRTT(RTT_TMP1)); - - // Vertical pass - sq.getMaterial().MaterialType = irr_driver->getShader(ES_GAUSSIAN3V); - sq.setTexture(irr_driver->getRTT(RTT_TMP1)); - - sq.render(texture); - return texture; } // makeMiniMap