openGLES程序在Android 4.4上遇到错误,但在4.1上工作,为什么?

时间:2014-09-20 13:47:33

标签: android opengl-es opengl-es-2.0

OpenGLES程序在Android 4.4上遇到错误:

09-20 21:14:16.695 I/dalvikvm(16504): Enabling JNI app bug workarounds for target SDK version 9... 
09-20 21:14:16.755 I/Process (16480): Sending signal. PID: 16480 SIG: 9
09-20 21:14:16.760 W/System.err(16466): GLUseful failed to compile shader source:
09-20 21:14:16.760 W/System.err(16466): precision mediump float;
09-20 21:14:16.760 W/System.err(16466): #extension GL_OES_EGL_image_external : require
09-20 21:14:16.760 W/System.err(16466): uniform samplerExternalOES view_image;
09-20 21:14:16.760 W/System.err(16466): varying vec2 image_coord;
09-20 21:14:16.760 W/System.err(16466): void main()
09-20 21:14:16.760 W/System.err(16466):   {
09-20 21:14:16.760 W/System.err(16466):     gl_FragColor = texture2D(view_image, image_coord);
09-20 21:14:16.760 W/System.err(16466):   }/*main*/
09-20 21:14:16.765 W/dalvikvm(16466): threadid=11: thread exiting with uncaught exception (group=0x41628c50)

但是同样的APK可以在Android 4.1上运行而没有任何错误,为什么?

0 个答案:

没有答案