diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2010-01-23 01:41:49 +0000 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2010-01-28 17:32:54 +0100 |
commit | 44a0e0a099eeeb6501359f08449dcaa5e9899398 (patch) | |
tree | 2bf83614ef44ed81cb16060e7601275c306969c1 /tests/kmstest/main.c | |
parent | f2730574f2d204eee62d6f37aa56567bd2d94a26 (diff) |
libkms: Rework interface to not duplicate fields from kms and make formats explicit
List of changes:
Fixes the cursor size to 64x64, you still need ti supply width and height
Explicitly make the cursor format A8R8G8B8
Explicitly make the scanout format X8R8G8B8
Diffstat (limited to 'tests/kmstest/main.c')
-rw-r--r-- | tests/kmstest/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kmstest/main.c b/tests/kmstest/main.c index bd41b065..7aaeb75a 100644 --- a/tests/kmstest/main.c +++ b/tests/kmstest/main.c @@ -44,7 +44,7 @@ int test_bo(struct kms_driver *kms) unsigned attrs[7] = { KMS_WIDTH, 1024, KMS_HEIGHT, 768, - KMS_BO_TYPE, KMS_BO_TYPE_SCANOUT, + KMS_BO_TYPE, KMS_BO_TYPE_SCANOUT_X8R8G8B8, KMS_TERMINATE_PROP_LIST, }; |