mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-22 07:01:45 -04:00
Fix longstanding bug with the FPU being forced into single-precision mode on Windows
This commit is contained in:
parent
312944e2f7
commit
b2b32aea5b
@ -538,6 +538,8 @@ static int get_display_information (DisplaySearchParameters &display_search_para
|
|||||||
else {
|
else {
|
||||||
behavior_flags = D3DCREATE_SOFTWARE_VERTEXPROCESSING;
|
behavior_flags = D3DCREATE_SOFTWARE_VERTEXPROCESSING;
|
||||||
}
|
}
|
||||||
|
// This is important to prevent DirectX from forcing the FPU into single-precision mode.
|
||||||
|
behavior_flags |= D3DCREATE_FPU_PRESERVE;
|
||||||
|
|
||||||
HRESULT result;
|
HRESULT result;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user