|
From: <je...@al...> - 2005-09-16 07:19:10
|
Le 15 sept. 2005 =E0 23:45, Dan Potter a =E9crit : > Actually it's not needed now. The newest code versions do it for =20 > you next > time there's a list_begin or scene_end, if it hasn't been done. > > Ok. Good news (one #ifndef I can then remove). > The rest of the code looks fine.... I wouldn't know exactly where =20 > to look > next. What's the size of the texture you're loading? > > For background.png it is 512x512 For logo.png it is 256x256 with alpha channel (the files are taken from various kos' examples) > And can you post the > whole C file so we can look for small things that might be missed? > > Here there are. Actually I try to draw two sprites : the background, and a logo moving in front of it (as a TR POLY with alpha channel texture). Maybe, i was not providing sufficient details in my previous post (i =20 simplified the code, now here is the complete code). The different pvr_set_bg_color() calls were put to check where the code was going wrong (so apparently, the program is not crashing and is entering the main loop). Others informations that might be useful: I use kos 1.3.x (snapshot) =20 with gcc 3.3.x and patched newlib 1.12.0 (got it from kos' source forge). |