mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-07-29 18:43:38 +00:00
[client] main: let the renderer know if it's rendering a whole new frame
While the renderer can internally track this it would be better to simply provide this information to the renderer directly so it can make better decisions on how best to update the screen.
This commit is contained in:
parent
8cf444ef31
commit
6389a06903
4 changed files with 10 additions and 4 deletions
|
@ -584,7 +584,7 @@ bool opengl_render_startup(void * opaque)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool opengl_render(void * opaque, LG_RendererRotate rotate)
|
||||
bool opengl_render(void * opaque, LG_RendererRotate rotate, const bool newFrame)
|
||||
{
|
||||
struct Inst * this = (struct Inst *)opaque;
|
||||
if (!this)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue