* 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:
Jérôme Duval 2008-04-04 19:45:11 +00:00
parent d6e60839e9
commit f27659f55e

View File

@ -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;
}