| Mirage Source http://miragesource.net/forums/ |
|
| dx bug fix http://miragesource.net/forums/viewtopic.php?f=210&t=2593 |
Page 1 of 1 |
| Author: | genusis [ Sat Sep 01, 2007 10:47 am ] |
| Post subject: | dx bug fix |
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...... |
|
| Author: | Rezeyu [ Sat Sep 01, 2007 10:59 am ] |
| Post subject: | Re: dx bug fix |
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. |
|
| Author: | genusis [ Sat Sep 01, 2007 11:01 am ] |
| Post subject: | Re: dx bug fix |
all i care is that it fixes it. |
|
| Author: | James [ Tue Sep 04, 2007 8:30 pm ] |
| Post subject: | Re: dx bug fix |
I was looking for a way to use SystemMemory only if video-memory didn't work, but I never found it, although you could make a new sub that calls everything using system memory and use On error Call whatever sub maybe? |
|
| Author: | funkynut [ Tue Sep 04, 2007 8:47 pm ] |
| Post subject: | Re: dx bug fix |
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 |
|
| Author: | Lea [ Wed Sep 05, 2007 1:14 am ] |
| Post subject: | Re: dx bug fix |
It sure is. You could make the DX code faster just by enumerating what the video card can do and using what it can, instead of just throwing it all onto the system. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|