finally fixed debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21061 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d752ee3be8
commit
652f187eee
@ -38,16 +38,13 @@ enum dw_status_bits {
|
||||
static void
|
||||
print_direct_buffer_state(const direct_buffer_state &state)
|
||||
{
|
||||
if (state == 0)
|
||||
return;
|
||||
|
||||
char string[128];
|
||||
int modeState = state & B_DIRECT_MODE_MASK;
|
||||
if (state == B_DIRECT_START)
|
||||
if (modeState == B_DIRECT_START)
|
||||
strcpy(string, "B_DIRECT_START");
|
||||
else if (state == B_DIRECT_MODIFY)
|
||||
else if (modeState == B_DIRECT_MODIFY)
|
||||
strcpy(string, "B_DIRECT_MODIFY");
|
||||
else if (state == B_DIRECT_STOP)
|
||||
else if (modeState == B_DIRECT_STOP)
|
||||
strcpy(string, "B_DIRECT_STOP");
|
||||
|
||||
if (state & B_CLIPPING_MODIFIED)
|
||||
|
Loading…
Reference in New Issue
Block a user