mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[all] provide conditional path optimization hints to the compiler
This commit is contained in:
@@ -296,7 +296,7 @@ bool egl_screenToDesktop(struct FrameDamageRect * output, const double matrix[6]
|
||||
|
||||
void egl_desktopRectsRender(EGL_DesktopRects * rects)
|
||||
{
|
||||
if (!rects->count)
|
||||
if (unlikely(!rects->count))
|
||||
return;
|
||||
|
||||
glBindVertexArray(rects->vao);
|
||||
|
Reference in New Issue
Block a user