mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 06:47:19 +00:00
[client] fix invalid bitwise comparison
This commit is contained in:
parent
81f91caf0e
commit
7b7a06b63f
@ -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 New Issue
Block a user