Subject: [Nel] Also my 2 cents

From: Vincent Caron <[email-masked]>
Date: 11 Feb 2002 19:43:11 +0100

To make gcc happy, it doesn't like signedness to be changed without an
explicit cast ...

Index: nel/src/3d/driver/opengl/driver_opengl_extension.cpp
===================================================================
RCS file: /home/cvsroot/code/nel/src/3d/driver/opengl/driver_opengl_extension.cpp,v
retrieving revision 1.28
diff -c -r1.28 driver_opengl_extension.cpp
*** nel/src/3d/driver/opengl/driver_opengl_extension.cpp	7 Feb 2002 19:32:56 -0000	1.28
--- nel/src/3d/driver/opengl/driver_opengl_extension.cpp	11 Feb 2002 18:48:20 -0000
***************
*** 31,39 ****
  
  // ***************************************************************************
  #ifdef NL_OS_WINDOWS
! #define	nelglGetProcAddress wglGetProcAddress
  #else	// NL_OS_WINDOWS
! #define	nelglGetProcAddress glXGetProcAddressARB
  #endif	// NL_OS_WINDOWS

--- 31,39 ----
  
  // ***************************************************************************
  #ifdef NL_OS_WINDOWS
! #define	nelglGetProcAddress(x) wglGetProcAddress(x)
  #else	// NL_OS_WINDOWS
! #define	nelglGetProcAddress(x) glXGetProcAddressARB((GLubyte*)(x))
  #endif	// NL_OS_WINDOWS