diff options
author | Michel Dänzer <[email protected]> | 2014-06-03 16:45:23 +0900 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2014-06-12 16:13:39 +0900 |
commit | be5e5b6c9364fcac8f26bc2875ffcfbaa4e17b45 (patch) | |
tree | ab29b1e57da1b0d35924a7a5e3e42a3c8f858d79 /src/gallium | |
parent | 2c8520c03de135228c37d67c9ff9756e3febb660 (diff) |
gbm: Remove 64x64 restriction from GBM_BO_USE_CURSOR
GBM_BO_USE_CURSOR_64X64 is kept so that existing users of GBM continue to
build, but it no longer rejects widths or heights other than 64.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79809
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/gbm/gbm_drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/gbm/gbm_drm.c b/src/gallium/state_trackers/gbm/gbm_drm.c index 725f12f6dad..fa842768d1b 100644 --- a/src/gallium/state_trackers/gbm/gbm_drm.c +++ b/src/gallium/state_trackers/gbm/gbm_drm.c @@ -66,7 +66,7 @@ gbm_usage_to_gallium(uint usage) if (usage & GBM_BO_USE_RENDERING) resource_usage |= PIPE_BIND_RENDER_TARGET | PIPE_BIND_SAMPLER_VIEW; - if (usage & GBM_BO_USE_CURSOR_64X64) + if (usage & GBM_BO_USE_CURSOR) resource_usage |= PIPE_BIND_CURSOR; return resource_usage; |