瀏覽代碼

Layer preview fix

luboslenco 6 年之前
父節點
當前提交
c58f674934
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Sources/arm/Layers.hx

+ 4 - 0
Sources/arm/Layers.hx

@@ -93,6 +93,10 @@ class Layers {
 
 		g.begin();
 		iron.App.removeRender(clearLastLayer);
+
+		#if krom_linux
+		Context.layerPreviewDirty = true;
+		#end
 	}
 
 	public static function resizeLayers(g:kha.graphics4.Graphics) {