X-Git-Url: http://nitlanguage.org diff --git a/lib/gamnit/depth/more_materials.nit b/lib/gamnit/depth/more_materials.nit index e8c6746..6374dea 100644 --- a/lib/gamnit/depth/more_materials.nit +++ b/lib/gamnit/depth/more_materials.nit @@ -146,7 +146,7 @@ class TexturedMaterial # If using a texture, set `texture_coords` program.tex_coord.array_enabled = sample_used_texture != null if sample_used_texture != null then - if sample_used_texture isa GamnitRootTexture then + if sample_used_texture isa RootTexture then # Coordinates are directly valid program.tex_coord.array(mesh.texture_coords, 2) else