project-navigation
Personal tools

Author Topic: Success: VS2008  (Read 8253 times)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: Success: VS2008
« Reply #15 on: October 02, 2009, 06:59:19 am »
Found reason for very low combat frame rate.
Hint: runtime checks are costly.  ;D

Then please tell us... ;)

Offline bfett14

  • Rookie
  • ***
  • Posts: 10
    • View Profile
Re: Success: VS2008
« Reply #16 on: October 06, 2009, 02:42:03 am »
One of the real-time checks would fill all local variables with 0xCCCCCCC.
R_DrawSurface has 256x256 array which would be re-filled on every one of
great many calls. Moment I turn off the check, the thing starts flying
even in debug mode.    ;D