worked on android port

opengl1 -> es
This commit is contained in:
root
2018-01-31 17:15:11 +01:00
parent a9bab839b2
commit e5e19779d5
53 changed files with 884 additions and 203 deletions

View File

@@ -21,11 +21,11 @@ protected:
/** repaint me */
void paintGL() override {
void render(const RenderSettings& rs) override {
Cube cube(reg->posOnMap_m, 0.5);
glColor3f(0,0,0);
cube.paintGL();
cube.setColor(0,0,0);
cube.render(rs);
}