Nicolas Cannasse 7 years ago
parent
commit
485208aefd
1 changed files with 1 additions and 1 deletions
  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