-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Mono.Android] Fix omitted Gl* constants. (#9009)
Fixes: #8612 Some OpenGL constants get removed because they conflict with method names after they go through our capitalization correction. For example, [`GLES20.GL_CULL_FACE`][0] *would* be bound as `GLES20.GlCullFace`, which then conflicts with the method named [`GLES20.GlCullFace(int)`][1], so it is skipped:: warning BG8401: Skipping 'Android.Opengl.GLES20.GlCullFace' due to a duplicate method name. (Java type: 'android.opengl.GLES20') Fix these cases by using metadata to assign explicit `managedName` values that are the expected constant name + `Const` to avoid the name collision. [0]: ]https://developer.android.com/reference/android/opengl/GLES20#GL_CULL_FACE [1]: ]https://developer.android.com/reference/android/opengl/GLES20#glCullFace(int)
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters