<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 15 Jul 2019 at 22:58, Giuseppe D'Angelo <<a href="mailto:giuseppe.dangelo@kdab.com">giuseppe.dangelo@kdab.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
What kind of argument is supposed to be passed? The context alone seems <br>
a bit pointless (at a minimum one needs an ad-hoc struct containing <br>
context, a surface, and pointers to functions to make it current / <br>
uncurrent...).</blockquote><div><br></div><div>Fair point. It's a void* argument referred to as deviceContext. I'm going through the code but I've not yet found what's supposed to be contained in deviceContext. <br></div><div><br></div><div>I've also posted a question on the OpenSubdiv forum (see <a href="https://groups.google.com/forum/embed/?place=forum/opensubdiv#!topic/opensubdiv/blyWgBJNdEg">https://groups.google.com/forum/embed/?place=forum/opensubdiv#!topic/opensubdiv/blyWgBJNdEg</a>). One of the developers suggested it could be GLEW-related, which has me confused as GLEW should only be an optional requirement to build OpenSubdiv (see <a href="https://github.com/PixarAnimationStudios/OpenSubdiv">https://github.com/PixarAnimationStudios/OpenSubdiv</a>), and of course we're in a Qt setting here :).<br></div><div><br></div><div>Thanks,</div><div>Pieter<br></div></div></div>