diff options
author | Brian Paul <brianp@vmware.com> | 2011-01-23 11:47:03 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-01-24 18:12:49 -0700 |
commit | 99c67f27d35a4bbbbefada8117d5972c7583cf42 (patch) | |
tree | 4bb72cd2585d317b49894a06e13f488b2664c836 /src/gallium/state_trackers/vega/api_path.c | |
parent | f3e6edc70b7a8e3a642c9d666863901653105893 (diff) |
vega: implement handler/pointer conversion using a hash table
Before, we were just casting between 32-bit VGHandles and 64-bit pointers.
Diffstat (limited to 'src/gallium/state_trackers/vega/api_path.c')
-rw-r--r-- | src/gallium/state_trackers/vega/api_path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/vega/api_path.c b/src/gallium/state_trackers/vega/api_path.c index e89c948290..ab6ce95894 100644 --- a/src/gallium/state_trackers/vega/api_path.c +++ b/src/gallium/state_trackers/vega/api_path.c @@ -170,7 +170,7 @@ void vegaAppendPathData(VGPath dstPath, p = handle_to_path(dstPath); - if (!pathData || !is_aligned_to(pathData, path_datatype_size(p))) { + if (!p || !is_aligned_to(p, path_datatype_size(p))) { vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR); return; } |