Use onWindowCreate() instead of init(), fix support for multiple GL windows, use window.renderer instead of currentRenderer

This commit is contained in:
Joshua Granick
2015-08-20 13:39:53 -07:00
parent f79a73fa47
commit 56c0872b8a
11 changed files with 104 additions and 54 deletions

View File

@@ -15,7 +15,9 @@ namespace lime {
public:
virtual void Flip () = 0;
virtual void* GetContext () = 0;
virtual value Lock () = 0;
virtual void MakeCurrent () = 0;
virtual const char* Type () = 0;
virtual void Unlock () = 0;