<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>will do,<br></div><div><br></div><div>thx</div><br><div data-zbluepencil-ignore="true" style="" class="zmail_extra"><br><div id="Zm-_Id_-Sgn1">---- On Wed, 11 Mar 2020 18:58:07 -0400 <b>Bert Freudenberg <bert@freudenbergs.de></b> wrote ----<br></div><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); padding-left: 6px; margin: 0px 0px 0px 5px;"><div><div dir="ltr"><div dir="ltr">On Wed, Mar 11, 2020 at 2:58 PM gettimothy via Squeak-dev <<a target="_blank" href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>> wrote:<br></div><div class="x_964674220gmail_quote"><div><br></div><div><br></div><div><br></div><div style="font-family: arial, helvetica, sans-serif;color: rgb(0,0,0);" class="x_964674220gmail_default">The methods have been automatically generated from the OpenGL spec a long time ago, yes. But you do not have to re-generate them.<br></div><div style="font-family: arial, helvetica, sans-serif;color: rgb(0,0,0);" class="x_964674220gmail_default"><br></div><div style="font-family: arial, helvetica, sans-serif;color: rgb(0,0,0);" class="x_964674220gmail_default">There is, however, some magic involved to get these methods bound to the correct openGLLibraryName. At runtime, when you instantiate an OpenGL object, the magic will actually create versions of these methods that have the right calling convention (instead of "apicall") and the right library name (e.g. 'libGL.so.1' on Linux).<br></div><div style="font-family: arial, helvetica, sans-serif;color: rgb(0,0,0);" class="x_964674220gmail_default"><br></div><div><br></div><div><div style="font-family: arial, helvetica, sans-serif;font-size: small;color: rgb(0,0,0);" class="x_964674220gmail_default">See my other reply re: getting OpenGL via FFI to work in 64 bits.<br></div></div><div><br></div><div style="font-family: arial, helvetica, sans-serif;font-size: small;color: rgb(0,0,0);" class="x_964674220gmail_default">- Bert -<br></div></div></div><br></div><blockquote style="margin: 0.0px 0.0px 0.0px 0.8ex;border-left: 1.0px solid rgb(204,204,204);padding-left: 1.0ex;" class="x_964674220gmail_quote"><u></u><div><div style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10.0pt;"><div>btw, the glMatrixMode:mode method tells us that it was automatically generated.<br></div><div><br></div><div>by what? When? against what?<br></div><blockquote style="border: 1.0px solid rgb(204,204,204);padding: 7.0px;background-color: rgb(245,245,245);"><div><div>glMatrixMode: mode<br></div><div><b><u>"This method was automatically generated."</u></b><br></div><div>"void glMatrixMode(GLenum mode);"<br></div><div><apicall: void 'glMatrixMode' (ulong) module: '#openGLLibraryName'><br></div><div>^self externalCallFailed<br></div></div></blockquote><div><br></div><div>Is that "automatic generation"  an example of fundamental work that must be done to make Croquet rock-n-roll?<br></div><div><br></div><div>cheers,<br></div><div><br></div><div>tty<br></div></div></div></blockquote></blockquote></div></div><br></body></html>