Enough JNI/threading hackery to get it to run on Android! Broken readbacks make it crash alot though.
This commit is contained in:
parent
7abb8702ce
commit
bd3a681fd3
5 changed files with 52 additions and 37 deletions
|
@ -21,5 +21,5 @@ class AndroidGraphicsContext : public GraphicsContext {
|
|||
public:
|
||||
// This is different than the base class function since on
|
||||
// Android (EGL, Vulkan) we do have all this info on the render thread.
|
||||
virtual bool InitFromRenderThread(ANativeWindow *wnd, int desiredBackbufferSizeX, int desiredBackbufferSizeY, int backbufferFormat, int androidVersion) {}
|
||||
virtual bool InitFromRenderThread(ANativeWindow *wnd, int desiredBackbufferSizeX, int desiredBackbufferSizeY, int backbufferFormat, int androidVersion) = 0;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue