Search code examples
androidtexturesscreenlibgdx

LibGDX texture won't draw on Android 4.3


I have a main class extending Game, a splash screen implementing Screen, batch, camera and texure in the splash screen class. On some my devices it runs correctly (Xperia SP 4.1.2, Xperia Neo V 2.3.4, GalaxyTab 8.9 4.0.4), but on my Nexus 7 with Android... 4.3 (!) texture is not drawing. But texture in project which implements ApplicationListener works correctly in all of them. I'm using lastest nightly build of LibGDX. What is wrong?


Solution

  • Hah, problem is solved. OpenGL target was 2.0, but... on Nexus (tegra3 problem?) work only textures with power-of-two dimensions... That's a bit strange.