diff --git a/internal/graphicsdriver/metal/graphics.go b/internal/graphicsdriver/metal/graphics_darwin.go similarity index 99% rename from internal/graphicsdriver/metal/graphics.go rename to internal/graphicsdriver/metal/graphics_darwin.go index 55bb27586..fdd2060dd 100644 --- a/internal/graphicsdriver/metal/graphics.go +++ b/internal/graphicsdriver/metal/graphics_darwin.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build darwin -// +build darwin - package metal import ( diff --git a/internal/graphicsdriver/metal/shader.go b/internal/graphicsdriver/metal/shader_darwin.go similarity index 99% rename from internal/graphicsdriver/metal/shader.go rename to internal/graphicsdriver/metal/shader_darwin.go index 21f7caa68..91f6c383a 100644 --- a/internal/graphicsdriver/metal/shader.go +++ b/internal/graphicsdriver/metal/shader_darwin.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build darwin -// +build darwin - package metal import ( diff --git a/internal/graphicsdriver/metal/view.go b/internal/graphicsdriver/metal/view_darwin.go similarity index 98% rename from internal/graphicsdriver/metal/view.go rename to internal/graphicsdriver/metal/view_darwin.go index 1e3f109cc..30c7de37f 100644 --- a/internal/graphicsdriver/metal/view.go +++ b/internal/graphicsdriver/metal/view_darwin.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build darwin -// +build darwin - package metal import ( diff --git a/internal/graphicsdriver/metal/view_ios.go b/internal/graphicsdriver/metal/view_ios.go index d8d6504d3..1c2aceb13 100644 --- a/internal/graphicsdriver/metal/view_ios.go +++ b/internal/graphicsdriver/metal/view_ios.go @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build darwin && ios -// +build darwin,ios +//go:build ios +// +build ios package metal diff --git a/internal/graphicsdriver/metal/view_macos.go b/internal/graphicsdriver/metal/view_macos_darwin.go similarity index 97% rename from internal/graphicsdriver/metal/view_macos.go rename to internal/graphicsdriver/metal/view_macos_darwin.go index 33e217012..2431a7602 100644 --- a/internal/graphicsdriver/metal/view_macos.go +++ b/internal/graphicsdriver/metal/view_macos_darwin.go @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build darwin && !ios -// +build darwin,!ios +//go:build !ios +// +build !ios package metal