Made the pointer-ness of object handles explicit.

This commit is contained in:
Camilla Berglund
2013-01-05 21:13:28 +01:00
parent fc79e0a3a8
commit 9af960e2dd
32 changed files with 246 additions and 245 deletions

View File

@@ -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 @@ void display(void)
/*****************************************************************************
* 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 @@ void DrawGrid( void )
int main( void )
{
GLFWwindow window;
GLFWwindow* window;
int width, height;
/* Init GLFW */