Hello,
I try to draw a triangle in my app by using the tutorial in the android developer web site (https://developer.android.com/training/graphics/opengl/environment.html) but my triangle it is not draw and I have an error message:
distrib/android-emugl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetAttribLocation:995 error 0x502
distrib/android-emugl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetUniformLocation:1633 error 0x502
I think it's come frome my class Triangle but I don't found the mistake. I put a screenshot of my class Triangle.
thank you
I try to draw a triangle in my app by using the tutorial in the android developer web site (https://developer.android.com/training/graphics/opengl/environment.html) but my triangle it is not draw and I have an error message:
distrib/android-emugl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetAttribLocation:995 error 0x502
distrib/android-emugl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glGetUniformLocation:1633 error 0x502
I think it's come frome my class Triangle but I don't found the mistake. I put a screenshot of my class Triangle.
thank you