mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Updated some examples to new API.
This commit is contained in:
+2
-2
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user