mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 12:58:33 +01:00
missing a this rip
This commit is contained in:
parent
8421c9ed96
commit
ea68dd157e
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ namespace MLEM.Extensions {
|
|||
|
||||
private static Texture2D blankTexture;
|
||||
|
||||
public static Texture2D GetBlankTexture(SpriteBatch batch) {
|
||||
public static Texture2D GetBlankTexture(this SpriteBatch batch) {
|
||||
if (blankTexture == null) {
|
||||
blankTexture = new Texture2D(batch.GraphicsDevice, 1, 1, false, SurfaceFormat.Color);
|
||||
blankTexture.SetData(new[] {Color.White});
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<PackageProjectUrl>https://github.com/Ellpeck/MLEM</PackageProjectUrl>
|
||||
<RepositoryUrl>https://github.com/Ellpeck/MLEM</RepositoryUrl>
|
||||
<PackageLicenseUrl>https://github.com/Ellpeck/MLEM/blob/master/LICENSE</PackageLicenseUrl>
|
||||
<Version>1.0.2</Version>
|
||||
<Version>1.0.3</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
Loading…
Reference in a new issue