Re: [Mesa-dev] Mesa (master): glapi: Implement SET_xxx as inline functions instead of macros.

2011-05-20 Thread Carl-Philip Haensch
Zitat von Jose Fonseca jfons...@vmware.com: Sorry about that. I don't know if GLAPIENTRY should be part of GL ES headers or not -- I'm not even sure there's an ABI defined on Windows. The OpenGL library has to use the stdcall convention on windows while it's cdecl on linux. For ES

Re: [Mesa-dev] Mesa (master): glapi: Implement SET_xxx as inline functions instead of macros.

2011-05-19 Thread Thierry Reding
* Jose Fonseca wrote: Module: Mesa Branch: master Commit: ec4dfc2aad16ed3d04f47657e9f2cb22e791d511 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec4dfc2aad16ed3d04f47657e9f2cb22e791d511 Author: José Fonseca jfons...@vmware.com Date: Thu May 19 16:49:49 2011 +0100 glapi:

Re: [Mesa-dev] Mesa (master): glapi: Implement SET_xxx as inline functions instead of macros.

2011-05-19 Thread Jose Fonseca
Sorry about that. I don't know if GLAPIENTRY should be part of GL ES headers or not -- I'm not even sure there's an ABI defined on Windows. Probably the easiest thing to do is to add #ifndef GLAPIENTRY #define GLAPIENTRY #endif etc to the header being generated for GL ES. I don't