Link problem of MultisampleIMG

Hi expert,

Now our dev environment is TI+QNX, we got a linking issue about "glFramebufferTexture2DMultisampleIMG " when compiling the program, we can find the declaration in the qnx710\target\qnx7\usr\include\GLES2\glext.h,

My question is which lib(.so) i should link to ? Please let me know if you know the answer, thanks a lot.

I already linked the libGLESv2.so and libIMGGLESV2.so

Hi axel,

Thanks a lot for your question.

After asking internally, libGLESv2.so should be the correct .so to link against, but the extension which allows to use glFramebufferTexture2DMultisampleIMG (GL_EXT_multisampled_render_to_texture) might not be supported or implemented.

Perhaps you could check during run-time whether the extension is supported and get a function pointer to the glFramebufferTexture2DMultisampleIMG API in case it is?

Best regards,
Alejandro