adamajammary/imt3673-project

"Bitmap too large to be uploaded into a texture"

Opened this issue · 1 comments

Hifoz commented

23816-23950/com.imt3673.project.main W/OpenGLRenderer: Bitmap too large to be uploaded into a texture (4248x3004, max=4096x4096)

This keeps being spammed whenever I open the main menu, options or level chooser.

I believe this is related to the background image used, as it doesn't show up on my phone, but does so in emulator, where the error does not appear

Hifoz commented

Also getting the error message "15482-15590/com.imt3673.project.main E/Surface: getSlotFromBufferLocked: unknown buffer: 0x9ba43e50", which I think might be related.

These errors only appear on my phone(6.0) and not when running in an emulator(7.1.1). The "getSlotFromBufferLocked" error message is apparently a 6.0 only bug (see https://stackoverflow.com/questions/33046375/e-surface-getslotfrombufferlocked-unknown-buffer-0xab7519c0])