internal/uidriver/mobile: Bug fix: iOS with ebitengl build tag didn't work correctly

This commit is contained in:
Hajime Hoshi 2021-10-23 23:29:13 +09:00
parent 5b768679a3
commit dddfe73604
2 changed files with 7 additions and 2 deletions

View File

@ -12,6 +12,9 @@
// 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.
//go:build android || (ios && ebitengl)
// +build android ios,ebitengl
package restorable package restorable
const needsDisposingWhenRestoring = true const needsDisposingWhenRestoring = true

View File

@ -12,8 +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.
//go:build !android && !js //go:build !android && !js && (!ios || !ebitengl)
// +build !android,!js // +build !android
// +build !js
// +build !ios !ebitengl
package restorable package restorable