Commit fd413f69 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

win32u: Don't use CDECL for OSMesa functions.

parent a8591713
......@@ -292,12 +292,12 @@ static inline const RGBQUAD *get_dib_color_table( const dib_info *dib )
struct osmesa_funcs
{
void (CDECL *get_gl_funcs)( struct opengl_funcs *funcs );
struct wgl_context * (CDECL *create_context)( HDC hdc, const PIXELFORMATDESCRIPTOR *descr );
BOOL (CDECL *delete_context)( struct wgl_context *context );
PROC (CDECL *get_proc_address)( const char *proc );
BOOL (CDECL *make_current)( struct wgl_context *context, void *bits,
int width, int height, int bpp, int stride );
void (*get_gl_funcs)( struct opengl_funcs *funcs );
struct wgl_context * (*create_context)( HDC hdc, const PIXELFORMATDESCRIPTOR *descr );
BOOL (*delete_context)( struct wgl_context *context );
PROC (*get_proc_address)( const char *proc );
BOOL (*make_current)( struct wgl_context *context, void *bits,
int width, int height, int bpp, int stride );
};
extern const struct osmesa_funcs *init_opengl_lib(void) DECLSPEC_HIDDEN;
......@@ -119,7 +119,7 @@ failed:
/***********************************************************************
* osmesa_get_gl_funcs
*/
static void CDECL osmesa_get_gl_funcs( struct opengl_funcs *funcs )
static void osmesa_get_gl_funcs( struct opengl_funcs *funcs )
{
funcs->gl = opengl_funcs.gl;
}
......@@ -127,7 +127,7 @@ static void CDECL osmesa_get_gl_funcs( struct opengl_funcs *funcs )
/***********************************************************************
* osmesa_create_context
*/
static struct wgl_context * CDECL osmesa_create_context( HDC hdc, const PIXELFORMATDESCRIPTOR *descr )
static struct wgl_context * osmesa_create_context( HDC hdc, const PIXELFORMATDESCRIPTOR *descr )
{
struct wgl_context *context;
UINT gl_format;
......@@ -162,7 +162,7 @@ static struct wgl_context * CDECL osmesa_create_context( HDC hdc, const PIXELFOR
/***********************************************************************
* osmesa_delete_context
*/
static BOOL CDECL osmesa_delete_context( struct wgl_context *context )
static BOOL osmesa_delete_context( struct wgl_context *context )
{
pOSMesaDestroyContext( context->context );
free( context );
......@@ -172,7 +172,7 @@ static BOOL CDECL osmesa_delete_context( struct wgl_context *context )
/***********************************************************************
* osmesa_get_proc_address
*/
static PROC CDECL osmesa_get_proc_address( const char *proc )
static PROC osmesa_get_proc_address( const char *proc )
{
return (PROC)pOSMesaGetProcAddress( proc );
}
......@@ -180,8 +180,8 @@ static PROC CDECL osmesa_get_proc_address( const char *proc )
/***********************************************************************
* osmesa_make_current
*/
static BOOL CDECL osmesa_make_current( struct wgl_context *context, void *bits,
int width, int height, int bpp, int stride )
static BOOL osmesa_make_current( struct wgl_context *context, void *bits,
int width, int height, int bpp, int stride )
{
BOOL ret;
GLenum type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment