Mercurial > mm7
comparison GUI/GUIProgressBar.cpp @ 2525:4cc81f981afb
Everything except game can use d3d11
author | a.parshin |
---|---|
date | Fri, 10 Oct 2014 18:28:04 +0300 |
parents | c7264ab7132f |
children | a902abdfc7f2 |
comparison
equal
deleted
inserted
replaced
2524:c7264ab7132f | 2525:4cc81f981afb |
---|---|
175 pRenderer->EndScene(); | 175 pRenderer->EndScene(); |
176 return; | 176 return; |
177 } | 177 } |
178 | 178 |
179 pRenderer->DrawTextureRGB(0, 0, &pLoadingBg); | 179 pRenderer->DrawTextureRGB(0, 0, &pLoadingBg); |
180 pRenderer->SetRasterClipRect(0, 0, 639, 479); | 180 //pRenderer->SetRasterClipRect(0, 0, 639, 479); |
181 pRenderer->SetUIClipRect(172, 459, 15 * (signed int)(signed __int64)((double)(300 * uProgressCurrent) / (double)uProgressMax) / 15 + 172, 471); | 181 pRenderer->SetUIClipRect(172, 459, 15 * (signed int)(signed __int64)((double)(300 * uProgressCurrent) / (double)uProgressMax) / 15 + 172, 471); |
182 pRenderer->DrawTextureIndexedAlpha(172, 459, &pLoadingProgress); | 182 pRenderer->DrawTextureIndexedAlpha(172, 459, &pLoadingProgress); |
183 pRenderer->ResetUIClipRect(); | 183 pRenderer->ResetUIClipRect(); |
184 pRenderer->EndScene(); | 184 pRenderer->EndScene(); |
185 pRenderer->Present(); | 185 pRenderer->Present(); |