Skip to content

Commit

Permalink
Apply Guichan's changes from e3b13a3923cbe3e46c231b4f2817d2f0cabb58f9…
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarod42 committed Aug 27, 2024
1 parent 081b759 commit 419d2ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion TODO
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* Continue rebasing from e3b13a3923cbe3e46c231b4f2817d2f0cabb58f9
* Continue rebasing from 40b4a526479f407546bb3a9d33eabc8ff75a40d3
* Add a focus listener interface.
* Make focus apply synchronously.
* Graphics and input objects for DirectX.
Expand Down
3 changes: 3 additions & 0 deletions src/graphics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ namespace gcn

bool Graphics::pushClipArea(Rectangle area)
{
// Ignore area with a negative width or height
if (area.width < 0 || area.height < 0)
return false;
if (mClipStack.empty())
{
ClipRectangle carea;
Expand Down

0 comments on commit 419d2ca

Please sign in to comment.