Nicolas Cannasse 7 年之前
父节点
当前提交
485208aefd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      samples/Pbr.hx

+ 1 - 1
samples/Pbr.hx

@@ -22,7 +22,7 @@ class Pbr extends SampleApp {
 		new h3d.scene.CameraController(5.5, s3d);
 
 		#if flash
-		new h2d.Text(font, s2d).text = "Not supported on this platform (requires render to mipmap target and fragment textureCubeLod support)";
+		new h2d.Text(getFont(), s2d).text = "Not supported on this platform (requires render to mipmap target and fragment textureCubeLod support)";
 		return;
 		#end