View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003625||Multi Theft Auto : San Andreas||General||public||2008-05-30 16:30||2013-04-20 21:41|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Status||closed||Resolution||no change required|
|Target Version||1.3.3||Fixed in Version|
|Summary||0003625: Omit second BeginScene/EndScene Direct3D calls within same frame|
We are currently calling BeginScene and EndScene a second time, before Present (event OnPresent). Because Direct3D does not allow multiple of these calls to be made before a single Present call, it is strongly recommended we reduce these calls to a single occurance.
This bug is possibly behind some unexplainable or rare Direct3D bugs or crashes that people have experienced.
This can be fixed by hooking in OnEndScene instead of OnPresent, but it involves clearing all states, transformations and what not before drawing our own stuff (this is the reason why the separate scene calls were used in the first place) - see revision 10720 that introduced several bugs.
|Tags||No tags attached.|