[SOLVED] OpenGLContext::copyTexture issue


I have used OpenGLContext::copyTexture to draw texture in the background.
It does work in OpenGL 4.5, but not 3.0 and below without any assertion.
if use OpenGLContext like OpenGL 2D demo, it does work in both.
What is minimum OpenGL version of copyTexture?

What is the best way to draw texture?



I do not know on which platform and which profile your OpenGL context is running.
I do neither know your assert, you should probably be more specific.
But as I try to explain here:
Since OpenGL 3, glEnable (GL_TEXTURE_2D) is deprecated, maybe this can helps.



It is resolved!. It is because of my fault.