make OpenGL2 version work (still very rudimentary, no filled rendering, only debug wireframe)

This commit is contained in:
erwincoumans
2015-04-16 23:46:01 -07:00
parent 438cb00abd
commit 60593f41ed
5 changed files with 76 additions and 14 deletions

View File

@@ -21,6 +21,12 @@ struct SimpleOpenGL2Renderer : public CommonRenderInterface
virtual CommonCameraInterface* getActiveCamera();
virtual void setActiveCamera(CommonCameraInterface* cam);
virtual void resize(int width, int height)
{
m_width = width;
m_height = height;
}
virtual void removeAllInstances();