code: def set_display_at_native_res(self, should_be_fullscreen=True):
          
          # Loop through all our display modes until we find one that works well.
          for mode in self.display_modes:
              color_depth = pygame.display.mode_ok(mode)
              if color_depth is not 0:
                  if should_be_fullscreen:
                      should_fill = pygame.FULLSCREEN
                  else:
                      should_fill = 0
  
                  self.backbuffer = pygame.display.set_mode(mode, should_fill, color_depth)
                  break
docs: Sets the resolution to the display's native resolution.
          Sets as fullscreen if should_be_fullscreen is true.