[core] do not call glStencilFunc when we're not clipping

This commit is contained in:
Konstantin Käfer
2016-03-15 17:43:13 +01:00
parent 3a36079ccc
commit e7ac0f6d4c
14 changed files with 35 additions and 6 deletions

View File

@@ -37,3 +37,7 @@ void RasterBucket::drawRaster(RasterShader& shader, StaticVertexBuffer &vertices
bool RasterBucket::hasData() const {
return raster.isLoaded();
}
bool RasterBucket::needsClipping() const {
return false;
}