internal/glfwwin: remove unnecessary comments

This commit is contained in:
Hajime Hoshi 2022-05-20 23:16:42 +09:00
parent 8c467aaa1b
commit bd2a31bdd8
2 changed files with 0 additions and 3 deletions

View File

@ -106,7 +106,6 @@ jobs:
go test -tags=example ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v ./... go test -tags=example ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v ./...
- name: go test (Linux 386) - name: go test (Linux 386)
# TODO: Add more test environments (#1305)
if: ${{ startsWith(matrix.os, 'ubuntu-') }} if: ${{ startsWith(matrix.os, 'ubuntu-') }}
run: | run: |
sudo dpkg --add-architecture i386 sudo dpkg --add-architecture i386
@ -116,7 +115,6 @@ jobs:
env CGO_ENABLED=1 GOARCH=386 go test -tags=example ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v ./... env CGO_ENABLED=1 GOARCH=386 go test -tags=example ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v ./...
- name: go test (Windows 386) - name: go test (Windows 386)
# TODO: Add more test environments (#1305)
if: ${{ startsWith(matrix.os, 'windows-') }} if: ${{ startsWith(matrix.os, 'windows-') }}
run: | run: |
# TODO: Enable this after DirectX is supported on 32bit machines (#2088) # TODO: Enable this after DirectX is supported on 32bit machines (#2088)

View File

@ -1669,7 +1669,6 @@ func (w *Window) platformRestoreWindow() {
} }
func (w *Window) platformMaximizeWindow() error { func (w *Window) platformMaximizeWindow() error {
// TODO: Handle error
if _IsWindowVisible(w.win32.handle) { if _IsWindowVisible(w.win32.handle) {
_ShowWindow(w.win32.handle, _SW_MAXIMIZE) _ShowWindow(w.win32.handle, _SW_MAXIMIZE)
} else { } else {