Removed love.window.getWidth/getHeight. Use love.graphics.getWidth/getHeight or love.window.getMode instead.

love.window.getWidth/getHeight were originally added to help deal with high-dpi mode, but the API ended up going in a different direction (love.window.getPixelScale).

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2014-04-05 01:40:30 -03:00
parent 2fb39f4448
commit 3abb1a2cbb
5 changed files with 0 additions and 41 deletions
-10
View File
@@ -494,16 +494,6 @@ std::vector<WindowSize> Window::getFullscreenSizes(int displayindex) const
return sizes;
}
int Window::getWidth() const
{
return curMode.width;
}
int Window::getHeight() const
{
return curMode.height;
}
void Window::getDesktopDimensions(int displayindex, int &width, int &height) const
{
if (displayindex >= 0 && displayindex < getDisplayCount())