Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render: Broken index buffer after vid_restart #514

Closed
vTurbine opened this issue Nov 8, 2019 · 3 comments
Closed

Render: Broken index buffer after vid_restart #514

vTurbine opened this issue Nov 8, 2019 · 3 comments
Labels
Bug The issue in the run-time. Renderer

Comments

@vTurbine
Copy link
Contributor

vTurbine commented Nov 8, 2019

Reset logic in the render is broken by now. Even after 3964a31 I still get invalid index buffer handle when the render is destructing.

The steps to reproduce are simple:

  • In the main menu open console and execute vid_restart
  • Exit from the game

In case of running in debug session, an exception occurs while trying to ref counter in stats.
Since it was introduced with my recent PR #490 I'll take care of the issue. Just give me some time.
In case of an urgent fix, there is no need to revert all the changes -- just return quadIB creating logic.

@vTurbine vTurbine added the Bug The issue in the run-time. label Nov 8, 2019
@Xottab-DUTY
Copy link
Member

Xottab-DUTY commented Nov 8, 2019

This affects all renderers?

Crash only on DX10/DX11, but all renderers are affected.

@Xottab-DUTY
Copy link
Member

Done :)

@vTurbine
Copy link
Contributor Author

vTurbine commented Nov 8, 2019

Perfect!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug The issue in the run-time. Renderer
Projects
None yet
Development

No branches or pull requests

2 participants