Closed megaDRONe86 closed 10 years ago
Reproduction: image 1024X1024 screen size 1136X640 draw call _pTexIgdcLogo->Draw2DSimple((GAME_VIEWPORT_WIDTH - w) / 2, (GAME_VIEWPORT_HEIGHT - h) / 2); No image is presented on screen.
This error was caused by convertion int to uint, fix is below: _pTexIgdcLogo->Draw2DSimple((GAME_VIEWPORT_WIDTH - w) / 2, (GAME_VIEWPORT_HEIGHT - (int)h) / 2);
Reproduction: image 1024X1024 screen size 1136X640 draw call _pTexIgdcLogo->Draw2DSimple((GAME_VIEWPORT_WIDTH - w) / 2, (GAME_VIEWPORT_HEIGHT - h) / 2); No image is presented on screen.