Skip to content

Commit

Permalink
libgui|GLTarget: If validation fails, do a full reset of the instance
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 16, 2014
1 parent 8f6a510 commit 0563d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/libgui/src/gltarget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ DENG2_OBSERVES(Asset, Deletion)

if(status != GL_FRAMEBUFFER_COMPLETE)
{
self.setState(NotReady);
releaseAndReset();

throw ConfigError("GLTarget::validate",
status == GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT? "Incomplete attachments" :
Expand Down

0 comments on commit 0563d9c

Please sign in to comment.