Hi sir
I would like to use the blew parameter to control fb1
fd = open("/dev/graphics/fb1", O_RDWR);
EGLNativeWindowType window = (EGLNativeWindowType)fd;
But it build error as blew:
frameworks/native/opengl/tests/OPENGLESTestRGB/opengl_es_test_rgb.cpp:40:31: error: cast to 'ANativeWindow *' from smaller integer type 'int' [-Werror,-Wint-to-pointer-cast]
EGLNativeWindowType window = (EGLNativeWindowType)fd;
Does there anyone else know this issue, and fix it?
BR