Can we draw a textured background using QObject?
I am trying to draw a textured background in Qt using Opengl ES 2.0.
I am generating the texture Id in my own class which is inherited from QGLwidget(initializeGL function).I am trying to pass the same handle in another class of my own which is derived from QObject . I need to bind the texture also in the same class.
so how can we bind the texture in another class which is not inherited from QGLwidget class?
(Sorry, couldn't resist. Ignore me. gg)
Can someone help me out on this issue?