[core] Don't reuse heatmap render texture on viewport resize.
Fixes issue #11228.
This commit is contained in:
@@ -67,7 +67,7 @@ void RenderHeatmapLayer::render(PaintParameters& parameters, RenderSource*) {
|
||||
}
|
||||
}
|
||||
|
||||
if (!renderTexture) {
|
||||
if (!parameters.context.supportsHalfFloatTextures || !renderTexture) {
|
||||
renderTexture = OffscreenTexture(parameters.context, size, gl::TextureType::UnsignedByte);
|
||||
renderTexture->bind();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user