Skip to content

Commit

Permalink
window: clarify Props.SetFramebufferSize more; Fixes #42
Browse files Browse the repository at this point in the history
  • Loading branch information
slimsag committed Nov 19, 2014
1 parent caa9c3a commit 4326f86
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion window/props.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ func (p *Props) Fullscreen() bool {
// SetFramebufferSize sets the size of the framebuffer in pixels. Each value is
// clamped to at least a value of 1.
//
// Only the window owner should ever set the framebuffer size.
// Only the Window implementation should set the framebuffer size: clients who are just
// utilizing the existing implementations defined in this package should not invoke this
// method.
func (p *Props) SetFramebufferSize(width, height int) {
if width < 1 {
width = 1
Expand Down

0 comments on commit 4326f86

Please sign in to comment.