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 / trouble with dbSetCameraToImage()

Author
Message
Sephnroth
21
Years of Service
User Offline
Joined: 10th Oct 2002
Location: United Kingdom
Posted: 20th May 2005 06:16
im having problems using the image from SetCameraToImage(). One of the things i wanted to use my pasteimagetoimage function for was to paste the render of the camera into one of the gui\\\\\\\'s textures so i could have a render of the active character in the equip screen.

Now im having an odd problem, if i DO NOT load any image (say, image number 30) and i just set dbSetCameraToImage() on number 30 so it generates it itself and then use my PasteImageToImage() function on it then I get an illegal operation on the line: dbGetPointer(Src)->GetSurfaceLevel(0, &SourceSurface);

now, if i make a bmp the dimensions i want the camera image, call it blank, load it as image 30 and then use the dbSetCameraToImage on that and paste it in i dont get the error but all i get is a red rectangle also. This is most vexing.

What can I do?

[07:16:59-pm] « Sephnroth » you were dreaming about lee...
[07:17:13-pm] « Mouse » stfu
[07:17:22-pm] « Mouse » he was hanging himself lol

Login to post a reply

Server time is: 2024-04-25 08:12:36
Your offset time is: 2024-04-25 08:12:36