Opened 11 years ago

Closed 11 years ago

#9182 closed bug (fixed)

BDirectWindow::GetClippingRect : wrong behaviour

Reported by: jua Owned by: jackburton
Priority: normal Milestone: R1
Component: Kits/Game Kit Version: R1/Development
Keywords: BDirectWindow GetClippingRect Cc:
Blocked By: Blocking:
Platform: All

Description

As discussed on the mailing list, the behaviour of BDirectWindow::GetClippingRect() is different than what is described in the BeBook. The BeBook says it must be called from within BDirectWindow::DirectConnected() and fails otherwise -- the current implementation does the exact opposite.

I've tested it by inverting the expression in the if-statement and it seems to work fine so far. Attaching a patch with the fix.

Attachments (1)

Fix-BDirectWindow-GetClippingRect.patch (749 bytes ) - added by jua 11 years ago.
Fix which inverts the checking expression

Download all attachments as: .zip

Change History (3)

by jua, 11 years ago

Fix which inverts the checking expression

comment:1 by jua, 11 years ago

patch: 01

comment:2 by korli, 11 years ago

Resolution: fixed
Status: newclosed

Applied in hrev44858. Thanks

Note: See TracTickets for help on using tickets.