Cleanup: fix warning -Wparentheses
This commit is contained in:
parent
8fe0aecfde
commit
05c7d935e7
|
@ -622,7 +622,7 @@ static void wm_xr_session_surface_free_data(wmSurface *surface)
|
|||
ListBase *lb = &data->viewports;
|
||||
wmXrViewportPair *vp;
|
||||
|
||||
while (vp = BLI_pophead(lb)) {
|
||||
while ((vp = BLI_pophead(lb))) {
|
||||
if (vp->viewport) {
|
||||
GPU_viewport_free(vp->viewport);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue