gechdcb / nulldc

Automatically exported from code.google.com/p/nulldc
0 stars 0 forks source link

Possible unintended bitwise AND? #478

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In \nulldc\plugins\drkPvr\d3drend.cpp, line 3411 the following is present:

do_resize=resizerq.needs_resize & !same_res;

Yet, both of these are boolean types, so should it not be:

do_resize=resizerq.needs_resize && !same_res; ?

Original issue reported on code.google.com by mathew1800 on 10 Mar 2013 at 1:42

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r150.

Original comment by KrossX3 on 10 Mar 2013 at 4:38