mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-20 09:57:10 +00:00
Use standard image buffers in UI scenes
This commit is contained in:
parent
b9b2e51bc8
commit
a55fddf270
|
|
@ -438,7 +438,7 @@ void UIScene_DLCOffersMenu::tick()
|
||||||
|
|
||||||
if(hasRegisteredSubstitutionTexture(textureName)==false)
|
if(hasRegisteredSubstitutionTexture(textureName)==false)
|
||||||
{
|
{
|
||||||
PBYTE pbImageData;
|
std::uint8_t *pbImageData = NULL;
|
||||||
int iImageDataBytes=0;
|
int iImageDataBytes=0;
|
||||||
bool bDeleteData;
|
bool bDeleteData;
|
||||||
#ifdef __ORBIS__
|
#ifdef __ORBIS__
|
||||||
|
|
@ -570,7 +570,7 @@ void UIScene_DLCOffersMenu::tick()
|
||||||
|
|
||||||
if(hasRegisteredSubstitutionTexture(textureName)==false)
|
if(hasRegisteredSubstitutionTexture(textureName)==false)
|
||||||
{
|
{
|
||||||
PBYTE pbImageData;
|
std::uint8_t *pbImageData = NULL;
|
||||||
int iImageDataBytes=0;
|
int iImageDataBytes=0;
|
||||||
bool bDeleteData;
|
bool bDeleteData;
|
||||||
#ifdef __ORBIS__
|
#ifdef __ORBIS__
|
||||||
|
|
|
||||||
|
|
@ -936,7 +936,7 @@ void UIScene_LoadMenu::handleTimerComplete(int id)
|
||||||
|
|
||||||
if(hasRegisteredSubstitutionTexture(textureName)==false)
|
if(hasRegisteredSubstitutionTexture(textureName)==false)
|
||||||
{
|
{
|
||||||
PBYTE pbImageData;
|
std::uint8_t *pbImageData = NULL;
|
||||||
int iImageDataBytes=0;
|
int iImageDataBytes=0;
|
||||||
SonyHttp::getDataFromURL(pDLCInfo->chImageURL,(void **)&pbImageData,&iImageDataBytes);
|
SonyHttp::getDataFromURL(pDLCInfo->chImageURL,(void **)&pbImageData,&iImageDataBytes);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1850,7 +1850,7 @@ void UIScene_LoadOrJoinMenu::handleTimerComplete(int id)
|
||||||
|
|
||||||
if(hasRegisteredSubstitutionTexture(textureName)==false)
|
if(hasRegisteredSubstitutionTexture(textureName)==false)
|
||||||
{
|
{
|
||||||
PBYTE pbImageData;
|
std::uint8_t *pbImageData = NULL;
|
||||||
int iImageDataBytes=0;
|
int iImageDataBytes=0;
|
||||||
SonyHttp::getDataFromURL(pDLCInfo->chImageURL,(void **)&pbImageData,&iImageDataBytes);
|
SonyHttp::getDataFromURL(pDLCInfo->chImageURL,(void **)&pbImageData,&iImageDataBytes);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue