Fix compilation for non-Qt builds
This commit is contained in:
@@ -876,9 +876,9 @@ static void opengl_blit(int x, int y, int w, int h, int monitor_index)
|
||||
int row;
|
||||
|
||||
if ((x < 0) || (y < 0) || (w <= 0) || (h <= 0) || (w > 2048) || (h > 2048) || (buffer32 == NULL) || (thread == NULL) ||
|
||||
atomic_flag_test_and_set(&blit_info[write_pos].in_use))
|
||||
atomic_flag_test_and_set(&blit_info[write_pos].in_use) || monitor_index >= 1)
|
||||
{
|
||||
video_blit_complete();
|
||||
video_blit_complete_monitor(monitor_index);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user