Made the pointer-ness of object handles explicit.
diff --git a/examples/boing.c b/examples/boing.c index c544e7a..5f006a8 100644 --- a/examples/boing.c +++ b/examples/boing.c
@@ -42,7 +42,7 @@ /* Prototypes */ void init( void ); void display( void ); -void reshape( GLFWwindow window, int w, int h ); +void reshape( GLFWwindow* window, int w, int h ); void DrawBoingBall( void ); void BounceBall( double dt ); void DrawBoingBallBand( GLfloat long_lo, GLfloat long_hi ); @@ -224,7 +224,7 @@ /***************************************************************************** * reshape() *****************************************************************************/ -void reshape( GLFWwindow window, int w, int h ) +void reshape( GLFWwindow* window, int w, int h ) { glViewport( 0, 0, (GLsizei)w, (GLsizei)h ); @@ -567,7 +567,7 @@ int main( void ) { - GLFWwindow window; + GLFWwindow* window; int width, height; /* Init GLFW */