I'm trying to blit a text surface on my screen, but I get this error: TypeError: argument 1 must be pygame.Surface, not tuple. What could be wrong? I know for sure that my text is a surface.
import pygame
import pygame.freetype
pygame.init()
pygame.font.init()
screen = pygame.display.set_mode((100, 100))
font = pygame.freetype.Font('resource2.ttf', 20)
text_image = font.render("text", (255,255,255))
screen.blit(text_image,(0,0))
pygame.display.flip()