Eero Pajarre wrote:
> 
> In order to make it compile I had to change the
> glProgcAddress and gluProcAddress definitions.
> 
> On the typedef lines move the void out from
> the parenthesis. (void ...) -> void (...)
> 
> I will attach a cvs diff clipping which might be
> ok as a patch.
> 

>

Oops this was not enough, there is still a compilation
problem with the apiext.c file (and probably something
similar with the glu file)

I first considered dropping the GLAPIENTRY from the
actual function line in the gl.h, this compiles, but
it causes the function have different linkage style
compared to the rest of the library.


The best I have found so far is the following (additional)
patch to apiext.c (and something similar to glu, when 
I get to that). At least it is similar to the gl.h file

Anything better available? (Ted?)


                Eero

Index: apiext.c
===================================================================
RCS file: /cvs/mesa3d/Mesa/src/apiext.c,v
retrieving revision 1.5
diff -c -r1.5 apiext.c
*** apiext.c    1999/09/17 03:07:28     1.5
--- apiext.c    1999/09/17 18:31:01
***************
*** 1158,1164 ****
--- 1158,1168 ----
  /*
   * GL_EXT_get_proc_address
   */
+ #ifdef __WIN32__
+ glProcAddress GLAPIENTRY glGetProcAddressEXT(const GLubyte *procName)
+ #else
  void (GLAPIENTRY *glGetProcAddressEXT(const GLubyte *procName))()
+ #endif
  {
     GET_CONTEXT;
     CHECK_CONTEXT_RETURN(NULL);


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to