> + /* get window bounds */ > + if(!GetClientRect(graphics->hwnd, &wnd_rect)) > + return GenericError;
What if the Graphics object doesn't have a window? -- Vincent Povirk
> + /* get window bounds */ > + if(!GetClientRect(graphics->hwnd, &wnd_rect)) > + return GenericError;
What if the Graphics object doesn't have a window? -- Vincent Povirk