Debug: max. texture size

This commit is contained in:
M66B
2024-06-18 23:04:38 +02:00
parent e315adfd14
commit 07bfd8d6ef
2 changed files with 34 additions and 0 deletions

View File

@@ -470,6 +470,7 @@ public class DebugHelper {
float density = context.getResources().getDisplayMetrics().density;
sb.append(String.format("Density 1dp=%f\r\n", density));
sb.append(String.format("Resolution: %.2f x %.2f dp\r\n", dim.x / density, dim.y / density));
sb.append(String.format("Max. texture=%d\r\n", Helper.getMaxTextureSize()));
Configuration config = context.getResources().getConfiguration();