chore: bring over some cafeberry fixes
This commit is contained in:
1 parent
9e4426b0d8
commit
9efc49d590
4 files changed
+53
-15
No files matched your search
@@ -1347,10 +1347,20 @@ GDrawTexture * RADLINK UIController::TextureSubstitutionCreateCallback ( void *
|
||||
#if (defined __ORBIS__ || defined _DURANGO )
|
||||
*width = 96;
|
||||
*height = 96;
|
||||
#elif _WINDOWS64
|
||||
if(ui.getScreenWidth() >= 1920)
|
||||
{
|
||||
*width = 96;
|
||||
*height = 96;
|
||||
}
|
||||
else
|
||||
{
|
||||
*width = 64;
|
||||
*height = 64;
|
||||
}
|
||||
#else
|
||||
*width = 64;
|
||||
*height = 64;
|
||||
|
||||
#endif
|
||||
*destroy_callback_data = (void *)id;
|
||||
|
||||
|
||||
Reference in new issue
Block a user