diff IO/Mouse.cpp @ 2524:c7264ab7132f

Main menu rendered using d3d11
author a.parshin
date Fri, 10 Oct 2014 17:42:05 +0300
parents a77c34acdbc9
children 1bcadc6dd203
line wrap: on
line diff
--- a/IO/Mouse.cpp	Thu Oct 09 23:33:36 2014 +0300
+++ b/IO/Mouse.cpp	Fri Oct 10 17:42:05 2014 +0300
@@ -410,7 +410,7 @@
       else if (!pParty->pPickedItem.IsIdentified())
         pRenderer->DrawTransparentGreenShade(pMouse->uMouseClickX, pMouse->uMouseClickY, pTexture);
       else
-        pRenderer->DrawTextureTransparent(pMouse->uMouseClickX, pMouse->uMouseClickY, pTexture);
+        pRenderer->DrawTextureIndexedAlpha(pMouse->uMouseClickX, pMouse->uMouseClickY, pTexture);
     }
   }
   else