Update of /cvsroot/openvrml/openvrml/src/libopenvrml-gl/openvrml/gl
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29918/src/libopenvrml-gl/openvrml/gl
Modified Files:
Tag: OpenVRML-0_16-BRANCH
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.43.2.4
retrieving revision 1.43.2.5
diff -C2 -d -r1.43.2.4 -r1.43.2.5
*** viewer.cpp 10 Dec 2006 07:26:23 -0000 1.43.2.4
--- viewer.cpp 28 Dec 2006 20:10:25 -0000 1.43.2.5
***************
*** 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_
***************
*** 1972,1978 ****
*/
# if HAVE_APPLE_OPENGL_FRAMEWORK
! typedef GLvoid (*OPENVRML_GL_CALLBACK_ TessCB)(...);
# else
! typedef GLvoid (*OPENVRML_GL_CALLBACK_ TessCB)(GLvoid);
# endif
--- 1972,1978 ----
*/
# if HAVE_APPLE_OPENGL_FRAMEWORK
! typedef GLvoid (OPENVRML_GL_CALLBACK_* TessCB)(...);
# else
! typedef GLvoid (OPENVRML_GL_CALLBACK_* TessCB)(GLvoid);
# endif
|