mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 15:23:17 +01:00
Made the pointer-ness of object handles explicit.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user