added an override for map preview rendering to use legacy non FBO code:
LegacyMapPreviewRendering=true
This commit is contained in:
parent
c8649f8cd1
commit
9f316bef08
|
@ -6735,6 +6735,10 @@ void Renderer::renderMapPreview( const MapPreview *map, bool renderAll,
|
||||||
Texture2D **renderToTexture) {
|
Texture2D **renderToTexture) {
|
||||||
|
|
||||||
static bool supportFBOs = Texture2DGl().supports_FBO_RBO();
|
static bool supportFBOs = Texture2DGl().supports_FBO_RBO();
|
||||||
|
if(Config::getInstance().getBool("LegacyMapPreviewRendering","false") == true) {
|
||||||
|
supportFBOs = false;
|
||||||
|
}
|
||||||
|
|
||||||
//static bool supportFBOs = false;
|
//static bool supportFBOs = false;
|
||||||
const Metrics &metrics= Metrics::getInstance();
|
const Metrics &metrics= Metrics::getInstance();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user