Fix gles3jni build with clang at android-11

jni/gl3stub.c:21:5: error: implicit declaration of function 'eglGetProcAddress' is invalid in C99
    FIND_PROC(glReadBuffer);
    ^
jni/gl3stub.c:20:37: note: expanded from macro 'FIND_PROC'
    #define FIND_PROC(s) s = (void*)eglGetProcAddress(#s)
                                    ^
1 error generated.

Change-Id: I907f33e3d88f3e96bf7958102e90bf15529748b9
This commit is contained in:
Andrew Hsieh
2013-07-31 13:27:23 +08:00
parent 445331f5e1
commit 80c93fbede

View File

@@ -14,6 +14,7 @@
* limitations under the License.
*/
#include <EGL/egl.h>
#include "gl3stub.h"
GLboolean gl3stubInit() {