libgdx / gdx-video

A libGDX cross platform video rendering extension
Apache License 2.0
147 stars 50 forks source link

Instantiated shader in third constructor #46

Closed mattkwilson closed 7 years ago

mattkwilson commented 7 years ago

When you try to create a video player using a custom mesh in android you get a NullPointerException: Attempt to invoke virtual method 'void com.badlogic.gdx.graphics.glutils.ShaderProgram.begin()' on a null object reference. When I opened up VideoPlayerAndroid.java I noticed shader is never instantiated in the third constructor.