Mirage Source
Fix masking bug - Printable Version

+- Mirage Source (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: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51)
+----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44)
+------ Forum: Bugs Reports (https://mirage-engine.uk/forums/forumdisplay.php?fid=9)
+------ Thread: Fix masking bug (/showthread.php?tid=3266)



Fix masking bug - Robin - 30-10-2009

Find:

Code:
DDSD_Temp.ddsCaps.lCaps = DDSCAPS_OFFSCREENPLAIN Or DDSCAPS_VIDEOMEMORY

Replace with:
Code:
DDSD_Temp.ddsCaps.lCaps = DDSCAPS_OFFSCREENPLAIN Or DDSCAPS_SYSTEMMEMORY

Video memory won't let you mask anything outside of the texture sizes limited by your video card, be it 512, 1024, 2048, 4086 etc. etc.

Was a bug in Silverdale I fixed a while ago.


Re: Fix masking bug - GIAKEN - 30-10-2009

Yes and don't auto determine best it always picks video memory.


Re: Fix masking bug - skillzalot - 01-11-2009

But this cuts my fps almost in half.

System memory I get 175
Video Memory i get 300


Re: Fix masking bug - Robin - 01-11-2009

skillzalot Wrote:But this cuts my fps almost in half.

System memory I get 175
Video Memory i get 300


Yeah, because 300 FPS is much more important than having a working map system.


Re: Fix masking bug - GIAKEN - 01-11-2009

Robin Wrote:
skillzalot Wrote:But this cuts my fps almost in half.

System memory I get 175
Video Memory i get 300


Yeah, because 300 FPS is much more important than having a working map system.

If you use video memory you can just use small tile sheets...


Re: Fix masking bug - skillzalot - 02-11-2009

Ya i guess you guys are right. I prolly should drop my fps for a working system.


Re: Fix masking bug - Robin - 02-11-2009

It's obvious Video Memory was used for a reason. It's much faster to access graphics which are stored in Video Memory.

There are much better ways you can increase your FPS, rather than fucking up one of your systems.


Re: Fix masking bug - skillzalot - 02-11-2009

Ya okay just calm down. I think getting rid of some of this crap of my comp might be helpful