Fixed missing error message if SDL_GetDisplayDPI() is unsupported.

This commit is contained in:
Philipp Wiesemann committed 2016-05-10 21:14:36 +02:00
1 parent 73b63e5b57
commit bf7a76155e
1 file changed
+3 -1
+3 -1
View File
@@ -719,7 +719,9 @@ SDL_GetDisplayDPI(int displayIndex, float * ddpi, float * hdpi, float * vdpi)
if (_this->GetDisplayDPI(_this, display, ddpi, hdpi, vdpi) == 0) {
return 0;
}
}
} else {
return SDL_Unsupported();
}
return -1;
}