diff --git a/src/SFML/Window/OSX/SFOpenGLView.mm b/src/SFML/Window/OSX/SFOpenGLView.mm
index 137b7b0a7..627af8f4d 100644
--- a/src/SFML/Window/OSX/SFOpenGLView.mm
+++ b/src/SFML/Window/OSX/SFOpenGLView.mm
@@ -170,6 +170,17 @@ BOOL isValidTextUnicode(NSEvent* event);
 }
 
 
+////////////////////////////////////////////////////////
+-(void)update
+{
+    // In order to prevent an infinite recursion when the window/view is
+    // resized to zero-height/width, we ignore update event when resizing.
+    if (![self inLiveResize]) {
+        [super update];
+    }
+}
+
+
 ////////////////////////////////////////////////////////
 -(void)finishInit
 {