Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes Visual Studio Emulator for Android #8

Open
Myndale opened this issue Jun 18, 2018 · 0 comments
Open

Crashes Visual Studio Emulator for Android #8

Myndale opened this issue Jun 18, 2018 · 0 comments

Comments

@Myndale
Copy link

Myndale commented Jun 18, 2018

I suspect that this project currently crashes the latest version of the VS Android Emulator (v 1.1.622.2). I've tracked it down to the unbind function in Vertices.java:

public void unbind()  {
	GLES20.glDisableVertexAttribArray(mTextureCoordinateHandle);
}

It would appear that glDisableVertexAttribArray also needs to be called on mMVPIndexHandle, and I'm guessing mPositionHandle probably needs it as well. I haven't seen this on any physical hardware and it only broke on the emulator sometime over the past year.

My apologies for not fixing this myself and submitting a pull-request, I'm not actually set up with Android Studio at the moment and have only seen this in a C#/Xamarin port of the code (although I'd be rather surprised if that was somehow causing it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant