You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug report was migrated from our old Bugzilla tracker.
Reported in version: HG 2.0 Reported for operating system, platform: Windows 10, x86_64
Comments on the original bug report:
On 2019-06-21 04:14:59 +0000, Cameron Gutman wrote:
The fix for bug # 4537 causes IDirect3DDevice9::CreateVertexBuffer() to fail consistently, and thus VBOs are not used. The combination of D3DUSAGE_DYNAMIC and D3DPOOL_MANAGED is illegal, as noted by warnings from the debug D3D9 runtime each time we try to render:
Direct3D9: (ERROR) :D3DUSAGE_DYNAMIC cannot be used with managed vertex buffers
Direct3D9: (ERROR) :Failure trying to create Vertex Buffer
On 2019-06-21 18:14:49 +0000, Ryan C. Gordon wrote:
Ah, well, shoot.
--ryan.
On 2019-06-21 19:12:01 +0000, Ryan C. Gordon wrote:
Okay, so the actual problem in Bug # 4537 was that we weren't releasing the vertex buffers on renderer shutdown, so I fixed that and put this back to D3DPOOL_DEFAULT.
I am a little concerned that immediate mode is turning out to be slightly faster than using a vertex buffer, but we're talking about a few FPS when drawing 30,000 sprites. Maybe that's less true at normal usage patterns, if it were enough to lose sleep over in the first place. Maybe I'll revisit that for 2.0.11.
This bug report was migrated from our old Bugzilla tracker.
Reported in version: HG 2.0
Reported for operating system, platform: Windows 10, x86_64
Comments on the original bug report:
On 2019-06-21 04:14:59 +0000, Cameron Gutman wrote:
On 2019-06-21 04:15:56 +0000, Cameron Gutman wrote:
On 2019-06-21 18:14:49 +0000, Ryan C. Gordon wrote:
On 2019-06-21 19:12:01 +0000, Ryan C. Gordon wrote:
The text was updated successfully, but these errors were encountered: