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....@qt-project.org 
[mailto:interest-bounces+laszlo.agocs=theqtcompany....@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@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to