Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17625

ID3DUserDefinedAnnotation always leaving behind live objects

$
0
0

I am attempting to use ID3DUserDefinedAnnotation to visualize regions of calls in RenderDoc. When I use it though I will always get resource leaks at the application. The call to QueryInterface always succeeds but according to the documentation BeginEvent will return -1 when not running under a Direct3D profiling tool. When I run in RenderDoc I see my regions so I believe it is working, although I am not sure how to view the output log from RenderDoc so I do not know if I am leaking resources there. I verified that when I create my device I am using …


Viewing all articles
Browse latest Browse all 17625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>