aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoşku Baş <cosku.bas@gmail.com>2015-01-20 09:40:33 +0200
committerDmitri Shuralyov <shurcooL@gmail.com>2015-02-21 18:51:44 -0800
commita81c8cbb2f2f4ea8aedefbfd27aed6ea685837c9 (patch)
tree0231264249a6af0baf1c886fdb29e2574cd7d81b
parent798cbb9ef1cfe0b36eb4dd81a3d314609b9304d3 (diff)
downloadglfw-a81c8cbb2f2f4ea8aedefbfd27aed6ea685837c9.tar.gz
Remove FIXMEs
-rw-r--r--window.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/window.go b/window.go
index 0daeaea..d4587aa 100644
--- a/window.go
+++ b/window.go
@@ -361,7 +361,7 @@ func (w *Window) SetSize(width, height int) error {
func (w *Window) GetFramebufferSize() (width, height int, err error) {
var wi, h C.int
C.glfwGetFramebufferSize(w.data, &wi, &h)
- return int(wi), int(h), fetchError() // FIXME: width and height are allowed to be NULL in C API
+ return int(wi), int(h), fetchError()
}
// GetFrameSize retrieves the size, in screen coordinates, of each edge of the frame
@@ -373,7 +373,7 @@ func (w *Window) GetFramebufferSize() (width, height int, err error) {
func (w *Window) GetFrameSize() (left, top, right, bottom int, err error) {
var l, t, r, b C.int
C.glfwGetWindowFrameSize(w.data, &l, &t, &r, &b)
- return int(l), int(t), int(r), int(b), fetchError() // FIXME: left, top, right and bottom are allowed to be NULL in C API
+ return int(l), int(t), int(r), int(b), fetchError()
}
// Iconfiy iconifies/minimizes the window, if it was previously restored. If it