Re: [Mesa-dev] [PATCH] mapi/glapi: Never use a generic no-op entry-point on Windows.

2012-02-02 Thread Brian Paul
On 02/02/2012 03:44 AM, jfons...@vmware.com wrote: From: José Fonseca When GLAPIENTRY is __stdcall (ie Windows), the stack is popped by the callee making the number/type of arguments significant, therefore using a generic no-op causes stack corruption for many entry-points. --- src/mapi/glapi/

[Mesa-dev] [PATCH] mapi/glapi: Never use a generic no-op entry-point on Windows.

2012-02-02 Thread jfonseca
From: José Fonseca When GLAPIENTRY is __stdcall (ie Windows), the stack is popped by the callee making the number/type of arguments significant, therefore using a generic no-op causes stack corruption for many entry-points. --- src/mapi/glapi/glapi_nop.c |8 ++-- 1 files changed, 6 inser