• Sam Lantinga's avatar
    Fixed bug 1338 - Direct3D renderer should set D3DCREATE_FPU_PRESERVE for not... · ad85c9da
    Sam Lantinga authored
    Fixed bug 1338 - Direct3D renderer should set D3DCREATE_FPU_PRESERVE for not behaving vastly different on doubles (causes 3rd party lib crashes!)
    
    Jonas Thiem 2011-11-29 12:28:02 PST
    Direct3D renderer should set D3DCREATE_FPU_PRESERVE for not behaving vastly
    different to OpenGL/software rendering on doubles and break some libraries
    really badly.
    
    Most notable affected example: Lua, which does the most unpredictable things
    which are really almost impossible to debug/find out for beginners who never
    heard this culprit exists.
    
    Since I believe all renderers should behave the same on that doubles simply
    work as expected in a program, this should really be changed! (also this wasted
    a few days of my life wondering why everything in my program was so broken)
    ad85c9da
SDL_render_d3d.c 36.9 KB