Issue
Can anyone suggest how start learning Open GL implementation in pure C++ in a NativeActivity in Android NDK without using jni.
I have tried running the sample NativeActivity
that comes with the NDK setup, but I am not able to run it. Giving error
Type 'EGL_DEFAULT_DISPLAY' could not be resolved
Can anyone suggest how to resolve this error.
Solution
Resolved the error
just add the statement typedef void* EGLNativeDisplayType;
before the statement
#include <EGL/egl.h>
in main.c
in the NativeActivity
Answered By - Mayank
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.