This site is no longer active and is available for archival purposes only. Registration and login is disabled.

SetRenderTarget help


SetRenderTarget help

Postby kornalius » Nov 9, 2006 @ 9:08pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby fast_rx » Nov 10, 2006 @ 4:49am

User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby kornalius » Nov 10, 2006 @ 4:04pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby fast_rx » Nov 10, 2006 @ 10:28pm

'could' be? Have you tried it?

Just thinking that accessing b while you're trying to render to it may be doing something.

I assume that you're checking that m_display is valid when you called getDisplay?
User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby kornalius » Nov 11, 2006 @ 5:11am

Yes I did comment out that line.

I can get it to clear with any color properly using Clear() however anything else I try to do to the surface after is not rendered. m_display is valid.
Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby kornalius » Nov 12, 2006 @ 5:50pm

Any idea why only the Clear would work but not the other functions?
Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby fast_rx » Nov 12, 2006 @ 6:22pm

What happens if you clear twice? Just wondering if the problem is with all functions except clear - or all funtions besides the first...
User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby kornalius » Nov 13, 2006 @ 6:42pm

Hi,

I got it. I saved the surface to disk to check and everything is drawn to the surface. It looks like it is when I assign the surface to my sprite.

So it was my fault all the way. Of course! ;)

Thanks for your time.
Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron