[Development] QT5 OpenGL question

Giuseppe D'Angelo dangelog at gmail.com
Sat Aug 3 10:55:17 CEST 2013


On 2 August 2013 23:30, Jiergir Ogoerg <f35f22fan at gmail.com> wrote:
> QOpenGLFunctions doesn't have a glClear() function while being advertised as
> "The QOpenGLFunctions class provides cross-platform access to the OpenGL/ES
> 2.0 API" but GLES2.0 does have a glClear() function.

I think QOpenGLFunctions exposes just the functions that would need to
be manually resolved. "Old" functions such as glClear, glEnable,
glGetIntegerv etc. are available in all OpenGL ES / OpenGL versions,
thus you can just use them without the need of resolving them...

-- 
Giuseppe D'Angelo



More information about the Development mailing list