Image padding

Post Reply
slenkar
Posts: 43
Joined: Sun Apr 17, 2011 8:10 pm

Image padding

Post by slenkar » Fri May 13, 2011 6:27 pm

The DS seems to have a blank screen or crash when you use non power of 2 textures.
Does anyone know how to pad loaded images to make them power of 2?

zeromus
Posts: 212
Joined: Wed Mar 31, 2010 6:05 pm

Re: Image padding

Post by zeromus » Mon May 16, 2011 6:54 pm

Write framebuffer programs until you understand how to do this yourself. It is really too simple to be explained. You load the data, and then you add padding while you copy it to a new buffer.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests