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

Report Direct3D device has non-zero reference count error in DXUTCreateDevice #11

Open
daiszh opened this issue Apr 18, 2017 · 2 comments

Comments

@daiszh
Copy link

daiszh commented Apr 18, 2017

I'm running on Win10 VS2013

@Pratapabhay
Copy link

Hi, I need help with the project. Were you able to install it properly?

@hamed053
Copy link

hamed053 commented Jan 18, 2018

Hi,
I solve this problem with two step
one: Uncomment line 189 of DX11Utils.cpp

hr = D3DX11CompileFromFile( str, pDefines, NULL, szEntryPoint, szShaderModel, dwShaderFlags, 0, NULL, ppBlobOut, &pErrorBlob, NULL );

two: comment (//) line 190 of DX11Utils.cpp
// hr = D3DCompileFromFile(str, pDefines, D3D_COMPILE_STANDARD_FILE_INCLUDE, szEntryPoint, szShaderModel, dwShaderFlags, 0, ppBlobOut, &pErrorBlob);

i'm not sure it is correct way or not, but it seems working fine

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

No branches or pull requests

3 participants