When closing after fullscreen, nullpointerexception
| Project: | AgateLib |
| Version: | 0.3.x-dev |
| Component: | Core |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
i get a nullpointer exception in Window at line 179
if (frameBuffer == null || frameBuffer.Impl != Impl.FrameBuffer)
Impl is null.
i close the window with this.Quit() in the Update Method of AgateGame.
has nothing to do with anything but i saw this in the same DisplayWindow class
public int Height
{
get { return Size.Height; }
set
{
Size = new Size(Size.Width, Size.Height);
}
}
i think there is an overlook
actually, this seems to happen only on windows and just when closing with a keyboardpress within the update method.
this now happens too when closing a normal window with keyboardpress.
Confirmed in svn.
Fixed in rev. 1194.
Automatically closed -- issue fixed for 2 weeks with no activity.