worked on android port
opengl1 -> es
This commit is contained in:
@@ -23,11 +23,11 @@ protected:
|
||||
|
||||
|
||||
/** repaint me */
|
||||
void paintGL() override {
|
||||
void render(const RenderSettings& rs) override {
|
||||
|
||||
Cube cube(fpl->getPosition(*f), 0.15);
|
||||
glColor3f(1,0,1);
|
||||
cube.paintGL();
|
||||
cube.setColor(1,0,1);
|
||||
cube.render(rs);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user