lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On May 24, 2006, at 14:28, Richard Ranft wrote:


By using the
D3DCREATE_FPU_PRESERVE option when creating the D3D device, the
math.random problem vanished.

What performance impact - if any - has this caused?  Microsoft's docs
mention an unspecified performance hit and I'm wondering if anyone has
actually noticed how bad (or not) that it is.

D3DCREATE_FPU_PRESERVE correctly preserves the FPU state. Without it, the state is not preserved.

One is correct, the other is not. Who cares about the performance impact.

David Jones