soywiz-archive / korge-samples

Korge Samples
55 stars 23 forks source link

Mask not working on MacOS #37

Closed mayankmkh closed 1 year ago

mayankmkh commented 3 years ago

I tried running mask sample but the mask is not working on JVM, native, and iOS. It works fine on Js and Android though.

Device: MacBook Pro (16-inch, 2019) OS: macOS Catalina version 10.15.7

mayankmkh commented 3 years ago

You already fixed it 😮. That was fast. Thanks!

soywiz commented 3 years ago

Yeah :) , the stencil bits were not specified, and the default was 0, while for this to work it should be the standard of 8

mayankmkh commented 3 years ago

I tried running mask sample with KorGE 2.0.5.1, it's working on native now 🙂 but not on ios or JVM. Adding some more details.

Java env

openjdk version "1.8.0_275"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_275-b01)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.275-b01, mixed mode)

ios

Device: iPhone 8 simulator
OS: iOS 14
soywiz commented 1 year ago

This was fixed sometiem ago