About Store Forum Documentation Contact

Post Reply 
Debug Rendering
Author Message
fatcoder Offline

Post: #1
Debug Rendering
Not sure if this is possible, but I'll throw it out there anyway.

I often find myself using the basic drawing tools provided by Display (i.e. D.line, etc...) for quickly visualizing something I need to debug. I'm sure many others do the same. There is one thing with this that often trips me up however.

I've noticed that if you forgot to do something like this...



...before you start drawing, you have all sorts of crazy things happening that make you think your code has suddenly been invaded by bugs. lol

Is it at all possible for EE to automatically call this stuff if required when using any of the Display drawing functions? It may incur some extra overhead for these functions, but they are only used for debug purposes anyway... nobody would actually use them in production code?

Anyway, like I said, it may not be possible, or I might have missed the reason why it is done this way. If that's the case, no big deal, but I think it could save some people some frustration if they don't realise they need to do this.
03-25-2011 03:08 AM
Find all posts by this user Quote this message in a reply
Post Reply