#NEWLINE# def on_reshape( width , height ) : #NEWLINE# #INDENT# gl . glViewport ( 0 , 0 , width , height ) #NEWLINE# gl . glMatrixMode ( gl . GL_PROJECTION ) #NEWLINE# gl . glLoadIdentity ( ) #NEWLINE# gl . glOrtho ( 0 , width , 0 , height , ( - 1 ) , 1 ) #NEWLINE# gl . glMatrixMode ( gl . GL_MODELVIEW ) #NEWLINE# gl . glLoadIdentity ( )