Ignore:
Timestamp:
2012-06-08 13:25:50 (7 years ago)
Author:
ramipasa
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2012/23/RamiP/YAG2DSSBase/YAG2DSS/YAG2DSS/ALTKEngine/Cursor.cs

    r2768 r2883  
    181181        public override void Draw(GameTime gameTime) 
    182182        { 
    183             //MouseState ms = Mouse.GetState(); 
     183            spriteBatch.Begin(SpriteSortMode.Deferred, BlendState.NonPremultiplied); 
     184            spriteBatch.Draw(cursorTexture, new Rectangle(SecPosX, SecPosY, 32, 32), Color.White); 
     185            spriteBatch.End(); 
    184186 
    185             //spriteBatch.Begin(SpriteSortMode.Deferred, BlendState.NonPremultiplied); 
    186             ////spriteBatch.Draw(cursorTexture, new Rectangle(ms.X, ms.Y, 32, 32), Color.White); 
    187             //spriteBatch.End(); 
    188  
    189             //base.Draw(gameTime); 
    190             //spriteBatch.End(); 
     187            base.Draw(gameTime); 
    191188        } 
    192189    } 
Note: See TracChangeset for help on using the changeset viewer.