#14. Trapped

#14. Trapped:
A man is trapped in a room. The room has only two possible exits: two doors. Through the first door there is a room constructed from magnifying glass. The blazing hot sun instantly fries anything or anyone that enters. Through the second door there is a fire-breathing dragon.
How does the man escape?
Did you solve the riddle?!