mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-06 10:44:01 +00:00
[egl] added fallback for platforms not supporting eglGetPlatformDisplay
This commit is contained in:
@@ -34,6 +34,14 @@ FrameBuffer;
|
||||
|
||||
typedef bool (*FrameBufferReadFn)(void * opaque, const void * src, size_t size);
|
||||
|
||||
/**
|
||||
* Wait for the framebuffer to fill to the specified size
|
||||
*/
|
||||
static inline void framebuffer_wait(const FrameBuffer * frame, size_t size)
|
||||
{
|
||||
while(frame->wp != size) {}
|
||||
}
|
||||
|
||||
/**
|
||||
* Read data from the KVMFRFrame into the dst buffer
|
||||
*/
|
||||
|
Reference in New Issue
Block a user