* GRAY8 is 8 bits
* typo git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24798 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d6e60839e9
commit
f27659f55e
@ -3083,10 +3083,11 @@ ServerWindow::HandleDirectConnection(int32 bufferState, int32 driverState)
|
||||
fDirectWindowData->buffer_info->bits_per_pixel = 16;
|
||||
break;
|
||||
case B_CMAP8:
|
||||
case B_GRAY8:
|
||||
fDirectWindowData->buffer_info->bits_per_pixel = 8;
|
||||
break;
|
||||
default:
|
||||
fprintf(stderr, "unkown colorspace in HandleDirectConnection()!\n");
|
||||
fprintf(stderr, "unknown colorspace in HandleDirectConnection()!\n");
|
||||
fDirectWindowData->buffer_info->bits_per_pixel = 0;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user