Skip to content

Add setSizeLimits#272

Open
DomainsHax wants to merge 1 commit intowjakob:masterfrom
DomainsHax:master
Open

Add setSizeLimits#272
DomainsHax wants to merge 1 commit intowjakob:masterfrom
DomainsHax:master

Conversation

@DomainsHax
Copy link
Copy Markdown

No description provided.

}

void Screen::setSizeLimits(const Vector2i& minsize, const Vector2i& maxsize) {
glfwSetWindowSizeLimits(mGLFWWindow, minsize[0], minsize[1], maxsize[0], maxsize[1]);
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use 4 spaces for indentation.

@wjakob
Copy link
Copy Markdown
Owner

wjakob commented Nov 17, 2017

This looks reasonable, but the function you added is missing Python bindings. Can you please add them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants