mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
Fix for iOS
This commit is contained in:
parent
10ebe3274c
commit
dfe4db67be
@ -12,8 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
// This is not used anywhere so far. I plan to use this for iOS.
|
// +build ios darwin,arm darwin,arm64
|
||||||
// +build ignore
|
|
||||||
|
|
||||||
package driver
|
package driver
|
||||||
|
|
@ -12,7 +12,10 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
// +build !js,!windows,!android
|
// +build darwin,!arm,!arm64 linux
|
||||||
|
// +build !js
|
||||||
|
// +build !android
|
||||||
|
// +build !ios
|
||||||
|
|
||||||
package driver
|
package driver
|
||||||
|
|
||||||
|
@ -266,7 +266,8 @@ func main() {
|
|||||||
case "internal/ui/keys_glfw.go":
|
case "internal/ui/keys_glfw.go":
|
||||||
buildTag = `// +build darwin,!arm,!arm64 linux windows
|
buildTag = `// +build darwin,!arm,!arm64 linux windows
|
||||||
// +build !js
|
// +build !js
|
||||||
// +build !android`
|
// +build !android
|
||||||
|
// +build !ios`
|
||||||
case "internal/ui/keys_js.go":
|
case "internal/ui/keys_js.go":
|
||||||
buildTag = "// +build js"
|
buildTag = "// +build js"
|
||||||
}
|
}
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
// +build darwin,!arm,!arm64 linux windows
|
// +build darwin,!arm,!arm64 linux windows
|
||||||
// +build !js
|
// +build !js
|
||||||
// +build !android
|
// +build !android
|
||||||
|
// +build !ios
|
||||||
|
|
||||||
package opengl
|
package opengl
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
// +build android darwin,arm darwin,arm64
|
// +build android ios darwin,arm darwin,arm64
|
||||||
|
|
||||||
package opengl
|
package opengl
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
// +build darwin,!arm,!arm64 linux windows
|
// +build darwin,!arm,!arm64 linux windows
|
||||||
// +build !js
|
// +build !js
|
||||||
// +build !android
|
// +build !android
|
||||||
|
// +build !ios
|
||||||
|
|
||||||
package ui
|
package ui
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
// +build android darwin,arm darwin,arm64
|
// +build android ios darwin,arm darwin,arm64
|
||||||
|
|
||||||
package ui
|
package ui
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
// +build darwin,!arm,!arm64 linux windows
|
// +build darwin,!arm,!arm64 linux windows
|
||||||
// +build !js
|
// +build !js
|
||||||
// +build !android
|
// +build !android
|
||||||
|
// +build !ios
|
||||||
|
|
||||||
package ui
|
package ui
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
// +build darwin,!arm,!arm64 linux windows
|
// +build darwin,!arm,!arm64 linux windows
|
||||||
// +build !js
|
// +build !js
|
||||||
// +build !android
|
// +build !android
|
||||||
|
// +build !ios
|
||||||
|
|
||||||
package ui
|
package ui
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
// +build android darwin,arm darwin,arm64
|
// +build android ios darwin,arm darwin,arm64
|
||||||
|
|
||||||
package ui
|
package ui
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
// +build android darwin,arm darwin,arm64
|
// +build android ios darwin,arm darwin,arm64
|
||||||
|
|
||||||
package mobile
|
package mobile
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user