mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-07-31 19:43:38 +00:00
[client] renderers: treat -1 as full damage and 0 as no overlay
This makes everything consistent.
This commit is contained in:
parent
4c60409aaf
commit
947eac52f6
4 changed files with 16 additions and 18 deletions
|
@ -686,7 +686,7 @@ bool opengl_render(void * opaque, LG_RendererRotate rotate, const bool newFrame)
|
|||
break;
|
||||
}
|
||||
|
||||
if (app_renderOverlay(NULL, 0) > -1)
|
||||
if (app_renderOverlay(NULL, 0) != 0)
|
||||
{
|
||||
ImGui_ImplOpenGL2_NewFrame();
|
||||
ImGui_ImplOpenGL2_RenderDrawData(igGetDrawData());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue