Removed Level usages - class structure is broken.
This commit is contained in:
@@ -68,5 +68,10 @@ namespace Diamond.Textures
|
||||
tex.Unbind();
|
||||
return tex;
|
||||
}
|
||||
|
||||
public static Texture FromFile(string path)
|
||||
{
|
||||
return FromBitmap(new Bitmap(path));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user