| View previous topic :: View next topic |
| Author |
Message |
dr_watson
Joined: 28 Nov 2005 Posts: 42
|
Posted: Sun Oct 28, 2007 11:21 pm Post subject: Weird rendering problem: render 2 times at 1/4 size |
|
|
Has anyone experienced this before? As shown in the screen shot below, the screen is rendered 2 times at 1/4 size.
The display mode used was set to 8888 and it seemed like the screen was rendered as it was 4444 or other 16bit pixel format.
The weird thing about it was that the problem seemed to be quite random. Sometimes few lines of code changes would make it go away but then sometimes it happens again with no obvious reason.
It was suggested the problem could be related to cache so I put a "sceKernelDcacheWritebackAll();" at the end of my render function but it didn't solve the problem completely.
Anyone has any ideas?
 |
|
| Back to top |
|
 |
Raphael

Joined: 17 Jan 2006 Posts: 646 Location: Germany
|
Posted: Mon Oct 29, 2007 12:04 am Post subject: |
|
|
Try increasing your display list. Also, check your whole program for any possible buffer/stack overflows. _________________ <Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki
Alexander Berl |
|
| Back to top |
|
 |
ufoz
Joined: 10 Nov 2005 Posts: 86 Location: Tokyo
|
Posted: Mon Oct 29, 2007 3:29 am Post subject: |
|
|
| I used to get this randomly and the problem would go away on its own in a different build with irrelevant changes (also randomly depending on wether or not I was using psplink at the time) |
|
| Back to top |
|
 |
dot_blank

Joined: 28 Sep 2005 Posts: 498 Location: Brasil
|
Posted: Mon Oct 29, 2007 8:37 am Post subject: |
|
|
also this could happen if you set your framebuffers to 1/4 the size
if you change FRAME SIZE to lower than 512
also check sceDisplayBuffer & sceDrawBuffer _________________ 10011011 00101010 11010111 10001001 10111010 |
|
| Back to top |
|
 |
|