[client] fix invalid bitwise comparison
This commit is contained in:
1 parent
81f91caf0e
commit
7b7a06b63f
1 file changed
+1
-1
+1
-1
@@ -619,7 +619,7 @@ int main_frameThread(void * unused)
|
||||
lgrFormat.stride = frame->stride;
|
||||
lgrFormat.pitch = frame->pitch;
|
||||
|
||||
if (frame->flags && FRAME_FLAG_TRUNCATED)
|
||||
if (frame->flags & FRAME_FLAG_TRUNCATED)
|
||||
{
|
||||
const float needed =
|
||||
((frame->screenHeight * frame->pitch * 2) / 1048576.0f) + 10.0f;
|
||||
|
||||
Reference in new issue
Block a user