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

Fix build on gcc6 #9

Merged
merged 1 commit into from Jan 18, 2018
Merged

Fix build on gcc6 #9

merged 1 commit into from Jan 18, 2018

Conversation

notaz
Copy link
Contributor

@notaz notaz commented Jan 18, 2018

Fixes build with mingw from ubuntu 17.10.
Missing C++17 features I guess.

Fixes build with mingw from ubuntu 17.10.
Missing C++17 features I guess.
@doitsujin
Copy link
Owner

Looks good. I'm using GCC 7.2 so I wasn't aware of this.

@doitsujin doitsujin merged commit 0b86756 into doitsujin:master Jan 18, 2018
@notaz notaz deleted the gcc6_build branch January 19, 2018 00:06
adamjer pushed a commit to adamjer/dxvk that referenced this pull request Sep 28, 2022
…f Memory (doitsujin#9)

Details:
To avoid nullptr access on back buffer, its allocation failure exception is now catched to return D3DERR_OUTOFVIDEOMEMORY error on IDirect3DDevice9::Reset. Also on  Back buffers destroy and Present paths, back buffer pointer validation was added to avoid accessing nullptr and crash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants