intel_extreme: PVS 1765-6: only use bool in conditions

* Style fix, no functional changes.
This commit is contained in:
Adrien Destugues
2015-10-26 18:36:48 +01:00
parent 9e80618520
commit 4286d20b87
@@ -573,8 +573,8 @@ intel_configure_overlay(overlay_token overlayToken,
}
if (!gInfo->shared_info->overlay_active
|| memcmp(&gInfo->last_overlay_view, view, sizeof(overlay_view))
|| memcmp(&gInfo->last_overlay_frame, window, sizeof(overlay_frame))) {
|| memcmp(&gInfo->last_overlay_view, view, sizeof(overlay_view) != 0)
|| memcmp(&gInfo->last_overlay_frame, window, sizeof(overlay_frame)) != 0) {
// scaling has changed, program window and scaling factor
// clip the window to on screen bounds