Mirage Engine
dx bug fix - Printable Version

+- Mirage Engine (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Resources (https://mirage-engine.uk/forums/forumdisplay.php?fid=49)
+---- Thread: dx bug fix (/showthread.php?tid=1240)



dx bug fix - genusis - 01-09-2007

to fix this error for some of you here

find

Code:
.ddsCaps.lCaps = DDSCAPS_OFFSCREENPLAIN Or DDSCAPS_VIDEOMEMORY
change it to

Code:
.ddsCaps.lCaps = DDSCAPS_OFFSCREENPLAIN Or DDSCAPS_SYSTEMMEMORY

happy know people......


Re: dx bug fix - Rezeyu - 01-09-2007

This usually doesn't affect the person using MSE's source.. it usually hits people that use a different graphics card from the dev. At least that I've seen..


I remember because Magnus posted this fix like 4 months ago.


Re: dx bug fix - genusis - 01-09-2007

all i care is that it fixes it.


Re: dx bug fix - funkynut - 04-09-2007

You could always use 'On error Goto blahblah' couldn't you?

Then just use
:BlahBlah
If err.Number = dx error number
Use the System memory


I cant remember how the err.Number thing works, but I know it exists, it lets you read last error number

Error handling's the key Big Grin