1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

build with ogles2 driver

This commit is contained in:
proller 2013-03-02 20:44:08 +04:00 committed by kwolekr
parent 67228160ae
commit 10c03e1a9d
3 changed files with 140 additions and 0 deletions

View file

@ -1350,6 +1350,14 @@ int main(int argc, char *argv[])
driverType = video::EDT_DIRECT3D9;
else if(driverstring == "opengl")
driverType = video::EDT_OPENGL;
#ifdef _IRR_COMPILE_WITH_OGLES1_
else if(driverstring == "ogles1")
driverType = video::EDT_OGLES1;
#endif
#ifdef _IRR_COMPILE_WITH_OGLES2_
else if(driverstring == "ogles2")
driverType = video::EDT_OGLES2;
#endif
else
{
errorstream<<"WARNING: Invalid video_driver specified; defaulting "