mirror of
https://github.com/love2d/love.git
synced 2026-08-18 03:34:23 +02:00
Cleaned up some code, the 'ry' parameter of love.graphics.rectangle now defaults to the value of 'rx' rather than defaulting to 0.
This commit is contained in:
@@ -148,7 +148,7 @@ bool Window::checkGLVersion(const ContextAttribs &attribs)
|
||||
if (glmajor < attribs.versionMajor
|
||||
|| (glmajor == attribs.versionMajor && glminor < attribs.versionMinor))
|
||||
return false;
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -355,7 +355,7 @@ bool Window::createWindowAndContext(int x, int y, int w, int h, Uint32 windowfla
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user