Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / SplitImage function

Author
Message
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 10th Aug 2008 13:10
i am trying to convert the popular Split Image function from batfink, from dbpro to dgdk...



i am having some problems with defining the proper status of the variables used, especiall iW iH iD imgWidth & imgHeight. if i set these to int the function works but it produces hazardous results and vc++ exe crashes at random. if i set them to dword all works fine.

my question is, anyone can check the proper defined status of the variables and let me know if they are properly set?

thanks a lot
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 15th Aug 2008 19:26
the above code works fine on nvidia cards, but the resultant sprites have a wrong x/y offset on ati cards.

the orginal dbpro code works fine on both ati & nvidia though.

any help?

Login to post a reply

Server time is: 2024-09-30 05:33:07
Your offset time is: 2024-09-30 05:33:07