Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fix masking bug
#1
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.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#2
Yes and don't auto determine best it always picks video memory.
Reply
#3
But this cuts my fps almost in half.

System memory I get 175
Video Memory i get 300
Reply
#4
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.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#5
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...
Reply
#6
Ya i guess you guys are right. I prolly should drop my fps for a working system.
Reply
#7
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.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#8
Ya okay just calm down. I think getting rid of some of this crap of my comp might be helpful
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)