Chris Speciale

Results 127 comments of Chris Speciale

Just a minor note: Haxe enums are on average 10-40% slower than static inline vars, because they're runtime Objects as opposed to compile time constants. Typically this doesn't matter unless...

They're still slower, I just wanted to point that out. But in this case, the change probably outweighs the cost.

Its a little bit more complicated than that. Even though it attempts to inline them whenever possible, the compiler generates less optimized code in many cases when using an enum...

For example, here is the generated code(with the analyzer on) of two identical functions, the only difference being one uses an abstract enum value and the other uses a static...

> The only C++-specific difference I noticed was the switch statement thing. It kept track of types just fine. I mean, the analyzer and code generation proficiency in general, not...

You copy pasted a decade old issue verbatim without providing a lot of information about your actual problem. All of the libraries have changed drastically. Calling dispose is supposed to...

The problem exists outside of away3d and in the actual project then I'm afraid. The callstack will tell you where to look.

I will take a look when I get a chance this week.

Show me the callstack please. @VMan-2002

Okay it looks like the gl context may already be null. This may be an openfl issue. I'm on my phone right now so I can't make the change and...