diff GUI/UI/UIPartyCreation.cpp @ 2525:4cc81f981afb

Everything except game can use d3d11
author a.parshin
date Fri, 10 Oct 2014 18:28:04 +0300
parents c7264ab7132f
children 8f12e6a1fcc2
line wrap: on
line diff
--- a/GUI/UI/UIPartyCreation.cpp	Fri Oct 10 17:42:05 2014 +0300
+++ b/GUI/UI/UIPartyCreation.cpp	Fri Oct 10 18:28:04 2014 +0300
@@ -106,7 +106,7 @@
 
   //move sky
   pRenderer->BeginScene();
-  pRenderer->DrawTextureRGB(0, 0, &pTexture_PCX);
+  pRenderer->DrawTextureNew(0, 0, &pTexture_PCX);
   uPlayerCreationUI_SkySliderPos = (GetTickCount() % 12800) / 20;
   pRenderer->DrawTextureIndexed(uPlayerCreationUI_SkySliderPos, 2, pTexture_MAKESKY);
   pRenderer->DrawTextureIndexed(uPlayerCreationUI_SkySliderPos - window->GetWidth(), 2, pTexture_MAKESKY);
@@ -427,7 +427,7 @@
   pTexture_buttplus  = pIcons_LOD->LoadTexturePtr("buttplus", TEXTURE_16BIT_PALETTE);
   pTexture_pressrigh = pIcons_LOD->LoadTexturePtr("presrigh", TEXTURE_16BIT_PALETTE);
   pTexture_presleft  = pIcons_LOD->LoadTexturePtr("presleft", TEXTURE_16BIT_PALETTE);
-  uControlParam = 1;
+  uControlParam = 0;
   do
   {
     sprintf(pTmpBuf.data(), "arrowl%d", uControlParam);