mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 05:05:44 +00:00
Linux compile fix, cast window to to void*
This commit is contained in:
@@ -2377,7 +2377,7 @@ bool WrappedOpenGL::EndFrameCapture(void *dev, void *wnd)
|
||||
|
||||
// if the specified context isn't current, try and see if we've saved
|
||||
// an appropriate backbuffer image during capture.
|
||||
if( (dev != NULL && prevctx.ctx != dev) || (wnd != 0 && prevctx.wnd != wnd) )
|
||||
if( (dev != NULL && prevctx.ctx != dev) || (wnd != 0 && (void *)prevctx.wnd != wnd) )
|
||||
{
|
||||
auto it = m_BackbufferImages.find(wnd);
|
||||
if(it != m_BackbufferImages.end())
|
||||
|
||||
Reference in New Issue
Block a user