diff options
author | Chia-I Wu <[email protected]> | 2010-10-07 12:14:38 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-10-07 12:15:31 +0800 |
commit | b2c0ef8b51ce86388335e83f2390940cb8fbc12f (patch) | |
tree | 626bed3b697f9bde233aa536431ede5ed3646fe0 /src/gallium/state_trackers | |
parent | da495ee8708d655742eff7b0cf1fee8f71ed10e9 (diff) |
st/vega: Fix version check in context creation.
This fixes a regression since 4531356817ec8383ac35932903773de67af92e37.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/vega/vg_manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/vega/vg_manager.c b/src/gallium/state_trackers/vega/vg_manager.c index e7996741d14..232deefa166 100644 --- a/src/gallium/state_trackers/vega/vg_manager.c +++ b/src/gallium/state_trackers/vega/vg_manager.c @@ -352,7 +352,7 @@ vg_api_create_context(struct st_api *stapi, struct st_manager *smapi, return NULL; /* only 1.0 is supported */ - if (attribs->major != 1 || attribs->minor > 0) + if (attribs->major > 1 || (attribs->major == 1 && attribs->minor > 0)) return NULL; pipe = smapi->screen->context_create(smapi->screen, NULL); |