Opened 13 years ago

Last modified 13 years ago

#24 closed defect

GLFW-b doesn't reset resolution if the user function throws an exception — at Version 1

Reported by: Ben Lippmeier Owned by:
Priority: normal Milestone:
Component: Unknown Version: 1.5.0
Keywords: Cc:

Description (last modified by Ben Lippmeier)

On 07/01/2012, at 17:57 , Thomas DuBuisson wrote:

It seems when I throw an exception inside animate GLFW-b fails to reset the proper resolution:

import Graphics.Gloss

main = do
 animate (FullScreen (500,500)) black (rectangleSolid (error "hi"))

Change History (2)

comment:1 Changed 13 years ago by Ben Lippmeier

Description: modified (diff)

Changed 13 years ago by Thomas DuBuisson

Attachment: CleanExitOnExcpetions.patch added

Catch exceptions / Fix the screen resolution on exit

Note: See TracTickets for help on using tickets.