#NEWLINE# def write_has_ext( self , fobj , apiversion ) : #NEWLINE# #INDENT# if ( ( self . major == 1 ) and ( apiversion . minor == 0 ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if ( apiversion . major < 3 ) : #NEWLINE# #INDENT# fobj . write ( _OPENGL_HAS_EXT_LT3 ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# fobj . write ( _OPENGL_HAS_EXT_GTE3 )