mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-03 11:17:10 +00:00
[client] fix invalid bitwise comparison
This commit is contained in:
parent
81f91caf0e
commit
7b7a06b63f
1 changed files with 1 additions and 1 deletions
|
@ -619,7 +619,7 @@ int main_frameThread(void * unused)
|
||||||
lgrFormat.stride = frame->stride;
|
lgrFormat.stride = frame->stride;
|
||||||
lgrFormat.pitch = frame->pitch;
|
lgrFormat.pitch = frame->pitch;
|
||||||
|
|
||||||
if (frame->flags && FRAME_FLAG_TRUNCATED)
|
if (frame->flags & FRAME_FLAG_TRUNCATED)
|
||||||
{
|
{
|
||||||
const float needed =
|
const float needed =
|
||||||
((frame->screenHeight * frame->pitch * 2) / 1048576.0f) + 10.0f;
|
((frame->screenHeight * frame->pitch * 2) / 1048576.0f) + 10.0f;
|
||||||
|
|
Loading…
Reference in a new issue