[Interest] GL_QUADS and Android

Agocs Laszlo laszlo.agocs at theqtcompany.com
Thu Oct 23 13:34:37 CEST 2014


Hello,

Quads are not supported in OpenGL ES. Hence the lack of the symbol. Draw triangles (or triangle strips) instead.

Cheers,
Laszlo

-----Original Message-----
From: interest-bounces+laszlo.agocs=theqtcompany.com at qt-project.org [mailto:interest-bounces+laszlo.agocs=theqtcompany.com at qt-project.org] On Behalf Of Nuno Santos
Sent: 23. oktober 2014 13:23
To: Interests Qt
Subject: [Interest] GL_QUADS and Android

Hi,

I had the following error when compiling a working project on Android:

error: 'GL_QUADS' was not declared in this scope
     _geometry.setDrawingMode(GL_QUADS);

Do I need any special include for this?

Regards,

Nuno
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list