| Summary: | Vertex buffer allocation uses illegal argument combination | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Cameron Gutman <cameron.gutman> |
| Component: | render | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | blocker | ||
| Priority: | P2 | Keywords: | target-2.0.10 |
| Version: | HG 2.0 | ||
| Hardware: | x86_64 | ||
| OS: | Windows 10 | ||
|
Description
Cameron Gutman
2019-06-21 04:14:59 UTC
Oops, the correct rev to revert is: https://hg.libsdl.org/SDL/rev/706e38de05c9 Ah, well, shoot. --ryan. 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. At any rate, this is fixed by https://hg.libsdl.org/SDL/rev/9d3f245739f8, thanks! --ryan. |