__stdcall must also be used in the definition of the callbacks
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 23 Jan 2009 06:24:12 +0000 (06:24 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 23 Jan 2009 06:24:12 +0000 (06:24 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38705 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/engines/gl_common/evas_gl_polygon.c

index 1b2e163..5ff60b7 100644 (file)
@@ -48,24 +48,24 @@ static void EFL_STDCALL _evas_gl_tess_error_cb(GLenum errorcode);
 static void EFL_STDCALL _evas_gl_tess_vertex_cb(GLvoid *vertex);
 static void EFL_STDCALL _evas_gl_tess_combine_cb(GLdouble coords[3], GLdouble *vertex_data[4], GLfloat weight[4], GLdouble **data_out);
 
-static void
+static void EFL_STDCALL
 _evas_gl_tess_begin_cb(GLenum which)
 {
    glBegin(which);
 }
 
-static void
+static void EFL_STDCALL
 _evas_gl_tess_end_cb(void)
 {
    glEnd();
 }
 
-static void
+static void EFL_STDCALL
 _evas_gl_tess_error_cb(GLenum errorcode)
 {
 }
 
-static void
+static void EFL_STDCALL
 _evas_gl_tess_vertex_cb(GLvoid *vertex)
 {
    GLdouble *v;
@@ -74,7 +74,7 @@ _evas_gl_tess_vertex_cb(GLvoid *vertex)
    glVertex2d(v[0], v[1]);
 }
 
-static void
+static void EFL_STDCALL
 _evas_gl_tess_combine_cb(GLdouble coords[3], GLdouble *vertex_data[4], GLfloat weight[4], GLdouble **data_out)
 {
    GLdouble *vertex;