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

Direct3D11.DeviceContext.SetPredication(null, false) throws NullReferenceException #510

Open
unbird2016 opened this issue Jun 12, 2016 · 1 comment

Comments

@unbird2016
Copy link

So, no way to reset.

Should probably look like this

void DeviceContext::SetPredication( Predicate^ predicate, bool predicateValue )
{   
    InternalPointer->SetPredication( predicate == nullptr ? 0 : predicate->InternalPointer,
        predicateValue );
}

Cheers.

@AraHaan
Copy link

AraHaan commented Jul 12, 2016

hmm Let me take a look.

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

2 participants