- Joined
- Nov 19, 2019
- Messages
- 80
It would be nice to have a config.cxs option to enable 2x and 4x multi-sampling to the Android target. https://stackoverflow.com/a/43579230/10296995
I attached a Java file based on that stack overflow post except it tries 4x before trying 2x. It falls back to none.
add this to Cerberus/targets/android/modules/native/androidgame.java just before calling _view.setRenderer.
and add this to Cerberus/targets/android/modules/cerberustarget.cxs
I'm not sure how to make config options for the Android target.
I attached a Java file based on that stack overflow post except it tries 4x before trying 2x. It falls back to none.
add this to Cerberus/targets/android/modules/native/androidgame.java just before calling _view.setRenderer.
Code:
_view.setEGLConfigChooser(new MultisampleConfigChooser());
and add this to Cerberus/targets/android/modules/cerberustarget.cxs
Code:
Import "native/MultisampleConfigChooser.java"
I'm not sure how to make config options for the Android target.