mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-26 14:38:34 +01:00
fix sprite effects not actually being passed
This commit is contained in:
parent
84e1958b4e
commit
bf59b68489
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ namespace MLEM.Textures {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Draw(this SpriteBatch batch, TextureRegion texture, Vector2 position, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth) {
|
public static void Draw(this SpriteBatch batch, TextureRegion texture, Vector2 position, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth) {
|
||||||
batch.Draw(texture, position, color, rotation, origin, new Vector2(scale), SpriteEffects.None, layerDepth);
|
batch.Draw(texture, position, color, rotation, origin, new Vector2(scale), effects, layerDepth);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Draw(this SpriteBatch batch, TextureRegion texture, Rectangle destinationRectangle, Color color, float rotation, Vector2 origin, SpriteEffects effects, float layerDepth) {
|
public static void Draw(this SpriteBatch batch, TextureRegion texture, Rectangle destinationRectangle, Color color, float rotation, Vector2 origin, SpriteEffects effects, float layerDepth) {
|
||||||
|
|
Loading…
Reference in a new issue