Ah yes. Po2 syndrome. Some thing that I do not suffer from:) But I had a quick question about it.
I know it happens when someone loads an image that isn't a power of two. But, can I draw a rectangle(love.graphics.rectangle) that isn't a multiple of two? Or will the po2 syndrome still occour?
Po2 Syndrome
- baconhawka7x
- Party member
- Posts: 491
- Joined: Mon Nov 21, 2011 7:05 am
- Location: Oregon, USA
- Contact:
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Po2 Syndrome
Only Images suffer from Po2. And only before 0.8.0 as is my understanding. Can someone shed the light on that once and for all.
Re: Po2 Syndrome
Yes, only images should suffer from PO2 Syndrome, and they'd suffer from it in 0.8.0 too, if LOVE didn't autopad images
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
- slime
- Solid Snayke
- Posts: 3163
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Po2 Syndrome
Images and canvases/framebuffers both "suffer" from the problem that older video cards can't deal with non power-of-2 dimensions. 0.8.0 works around the problem for images (but not canvases) by auto-padding non power-of-2 images with transparency on computers that don't support it. If you intend to use wrapping on non power-of-2 images, be aware that it may look messed up on those computers.
- baconhawka7x
- Party member
- Posts: 491
- Joined: Mon Nov 21, 2011 7:05 am
- Location: Oregon, USA
- Contact:
Who is online
Users browsing this forum: Ahrefs [Bot], whateverest and 4 guests