Update of /cvsroot/openvrml/openvrml/src/libopenvrml-gl/openvrml/gl
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv30392/src/libopenvrml-gl/openvrml/gl
Modified Files:
viewer.cpp
Log Message:
Fixed position of attribute applied to OpenGL callback functions.
Index: viewer.cpp
===================================================================
RCS file: /cvsroot/openvrml/openvrml/src/libopenvrml-gl/openvrml/gl/viewer.cpp,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** viewer.cpp 10 Dec 2006 07:26:34 -0000 1.51
--- viewer.cpp 28 Dec 2006 20:11:59 -0000 1.52
***************
*** 75,79 ****
# define OPENVRML_GL_CALLBACK_ __attribute__ ((__stdcall__))
# elif defined (_WIN32)
! # define OPENVRML_GL_CALLBACK_ APIENTRY
# else
# define OPENVRML_GL_CALLBACK_
--- 75,79 ----
# define OPENVRML_GL_CALLBACK_ __attribute__ ((__stdcall__))
# elif defined (_WIN32)
! # define OPENVRML_GL_CALLBACK_ CALLBACK
# else
# define OPENVRML_GL_CALLBACK_
***************
*** 1983,1989 ****
*/
# if HAVE_APPLE_OPENGL_FRAMEWORK
! typedef GLvoid (*OPENVRML_GL_CALLBACK_ TessCB)(...);
# else
! typedef GLvoid (*OPENVRML_GL_CALLBACK_ TessCB)(GLvoid);
# endif
--- 1983,1989 ----
*/
# if HAVE_APPLE_OPENGL_FRAMEWORK
! typedef GLvoid (OPENVRML_GL_CALLBACK_* TessCB)(...);
# else
! typedef GLvoid (OPENVRML_GL_CALLBACK_* TessCB)(GLvoid);
# endif
|