<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Just for reference – glX functions are not OpenGL functions at all, they're also not extensions to OpenGL, so I'd be very surprised if they could be got at from the Haskell GL bindings. &nbsp;glX is instead a library for creating OpenGL contexts (and working with them) for X11.<div><br></div><div>As the Haskell bindings for OpenGL are for OpenGL, not X windows, they don't support this call. &nbsp;Though another package (not sure which, because it doesn't apply on my platform) may well include it.</div><div><br></div><div>Bob</div><div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><span class="Apple-style-span" style="font-family: Arial; "><pre>if (*ra4 != 0xffc78948) { return false; }</pre></span></div></span>
</div>
<br><div><div>On 12 Feb 2012, at 03:03, Clark Gaebel wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><font face="verdana,sans-serif">Do the OpenGL bindings on Hackage expose anything like glXMakeCurrent [1]? I need to use OpenGL functions from multiple threads (note: not at once, I protect it with an MVar), but that's forbidden in extension-less OpenGL.<br>

<br>Thanks,<br>&nbsp; - clark<br><br>[1] <a href="http://www.talisman.org/opengl-1.1/Reference/glXMakeCurrent.html">http://www.talisman.org/opengl-1.1/Reference/glXMakeCurrent.html</a><br></font>
_______________________________________________<br>Haskell-Cafe mailing list<br><a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>http://www.haskell.org/mailman/listinfo/haskell-cafe<br></blockquote></div><br></div></body></html>