microsoft / angle

ANGLE: OpenGL ES to DirectX translation
Other
615 stars 166 forks source link

What conditions would lead to "Failed to find a valid index into a holographic camera, HRESULT: 0x0" #96

Closed lwansbrough closed 7 years ago

lwansbrough commented 8 years ago

I'm running into the above error during a call to glDrawElementsInstancedANGLE -- what are some plausible causes of this? I see that my HolographicNativeWindow instance doesn't have any cameras when calling holographicNativeWindow->GetCameraIds() (this happens inside SurfaceD3D::getAttachmentRenderTarget)

austinkinross commented 7 years ago

@MikeRiches Any ideas?

lwansbrough commented 7 years ago

@austinkinross Hey sorry, forgot to update you guys. I think the problem ended up being a race condition related to how my application was calling that method.

I got my JS HoloLens rendering application working thanks to your work in this fork!

austinkinross commented 7 years ago

Glad your issue is resolved! I'm closing out this thread, but feel free to reactivate it if you're having further problems here.