Removed unnessecary attribute.
This commit is contained in:
@@ -12,7 +12,7 @@ namespace RecrownedGTK.AssetsSystem.Loaders {
|
||||
int width;
|
||||
int height;
|
||||
byte[] textureData = LoadPNG(path, out width, out height);
|
||||
TextureInfo info = new TextureInfo(Path.GetFileName(path), width, height, textureData);
|
||||
TextureInfo info = new TextureInfo(width, height, textureData);
|
||||
return info;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user