src/video/SDL_video.c
changeset 10166 2393160743ca
parent 10056 4f139e059592
--- a/src/video/SDL_video.c	Tue May 10 21:13:58 2016 +0200
+++ b/src/video/SDL_video.c	Tue May 10 21:14:36 2016 +0200
@@ -719,7 +719,9 @@
 		if (_this->GetDisplayDPI(_this, display, ddpi, hdpi, vdpi) == 0) {
 			return 0;
 		}
-	}
+    } else {
+        return SDL_Unsupported();
+    }
 
 	return -1;
 }