iOS: fix transparent on game
This commit is contained in:
parent
f049be5027
commit
4f2253c091
|
@ -1787,10 +1787,7 @@
|
|||
GCC_FAST_MATH = YES;
|
||||
GCC_NO_COMMON_BLOCKS = NO;
|
||||
GCC_OPTIMIZATION_LEVEL = fast;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"DEBUG=1",
|
||||
"$(inherited)",
|
||||
);
|
||||
GCC_PREPROCESSOR_DEFINITIONS = "$(inherited)";
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
|
||||
GCC_UNROLL_LOOPS = YES;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
|
@ -1866,7 +1863,6 @@
|
|||
ENABLE_BITCODE = NO;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"$(inherited)",
|
||||
"NDEBUG=0",
|
||||
__IOS__,
|
||||
"RUN_IN_PLACE=0",
|
||||
"USE_GETTEXT=1",
|
||||
|
|
|
@ -148,6 +148,7 @@ extract:
|
|||
}
|
||||
|
||||
loading_alert(viewc, nil);
|
||||
win.backgroundColor = [UIColor blackColor];
|
||||
}
|
||||
|
||||
void ioswrap_size(unsigned int *dest)
|
||||
|
|
|
@ -615,11 +615,13 @@ void draw_load_screen(const std::wstring &text, IrrlichtDevice* device,
|
|||
g_menucloudsmgr->drawAll();
|
||||
}
|
||||
else
|
||||
{
|
||||
driver->beginScene(true, true, video::SColor(255, 0, 0, 0));
|
||||
video::ITexture *background_image = driver->getTexture((porting::path_share + "/textures/base/bg.png").c_str());
|
||||
draw2DImageFilterScaled(driver, background_image,
|
||||
irr::core::rect<s32>(0, 0, screensize.X*2, screensize.Y*2),
|
||||
irr::core::rect<s32>(0, 0, screensize.X, screensize.Y), 0, 0, false);
|
||||
}
|
||||
|
||||
// draw progress bar
|
||||
if ((percent >= 0) && (percent <= 100))
|
||||
|
|
Loading…
Reference in New Issue