Updated some examples to new API.

This commit is contained in:
Camilla Berglund
2010-09-09 19:01:32 +02:00
parent e229ccd7c4
commit 0c4b67795d
2 changed files with 15 additions and 11 deletions
+2 -2
View File
@@ -40,7 +40,7 @@
/* Prototypes */
void init( void );
void display( void );
void reshape( 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 );
@@ -222,7 +222,7 @@ void display(void)
/*****************************************************************************
* reshape()
*****************************************************************************/
void reshape( int w, int h )
void reshape( GLFWwindow window, int w, int h )
{
glViewport( 0, 0, (GLsizei)w, (GLsizei)h );