From 9125d03f624a31d89d5e1dbddc2b58224cc46b16 Mon Sep 17 00:00:00 2001 From: Brian Matzon Date: Wed, 4 Feb 2004 21:43:24 +0000 Subject: [PATCH] isDirty support --- src/java/org/lwjgl/test/input/MouseTest.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/java/org/lwjgl/test/input/MouseTest.java b/src/java/org/lwjgl/test/input/MouseTest.java index bd405535..e07117bb 100644 --- a/src/java/org/lwjgl/test/input/MouseTest.java +++ b/src/java/org/lwjgl/test/input/MouseTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002 Lightweight Java Game Library Project + * Copyright (c) 2002-2004 Lightweight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -205,6 +205,10 @@ public class MouseTest { // pause and continue if minimized if(Window.isMinimized()) { + if(Window.isDirty()) { + render(); + Window.paint(); + } pause(100); continue; }