![]() |
openGL ES problem!
Hello,
I am trying to develop OpenGL ES program on my N900 and I couldn't make lighting part working. I used: glEnable(GL_LIGHTING); glEnable(GL_LIGHT0); And it keep saying that GL_LIGHTING is not declared (or unknown) I installed openGL using: http://wiki.maemo.org/OpenGL-ES and I even followed the example in: http://doc.qt.nokia.com/qt-maemo/opengl-hellogl-es.html example but no luck for me. Can anyone tells me how to make GL_LIGHTING thing works in N900? Thank you so much! |
Re: openGL ES problem!
As always when you have a problem compiling something:
Supply how you compiled your code. This includes flags and which compiler you used. You should also include a minimal example where you get the problem. |
Re: openGL ES problem!
+1 for Joorin
Best guestimate is that you are compiling&linking with GL ES 2.0 when you are trying to 1.1 api. |
All times are GMT. The time now is 22:00. |
vBulletin® Version 3.8.8