summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/vega/api_masks.c
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2011-01-30 16:38:12 +0800
committerChia-I Wu <olv@lunarg.com>2011-01-30 23:22:40 +0800
commit05e5b53128fc4dc25769fecace671cdaa7004630 (patch)
treeb9fecf7fa427736fbf75ae0b434b388e589eb7c1 /src/gallium/state_trackers/vega/api_masks.c
parent11b15c4d254ee689183306579d9c4851e29c3c4a (diff)
st/vega: s/vg[A-Z]/vega[A-Z]/.
Diffstat (limited to 'src/gallium/state_trackers/vega/api_masks.c')
-rw-r--r--src/gallium/state_trackers/vega/api_masks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/vega/api_masks.c b/src/gallium/state_trackers/vega/api_masks.c
index 6c52369783..cdbf0026e8 100644
--- a/src/gallium/state_trackers/vega/api_masks.c
+++ b/src/gallium/state_trackers/vega/api_masks.c
@@ -139,8 +139,8 @@ VGMaskLayer vegaCreateMaskLayer(VGint width, VGint height)
struct vg_context *ctx = vg_current_context();
if (width <= 0 || height <= 0 ||
- width > vgGeti(VG_MAX_IMAGE_WIDTH) ||
- height > vgGeti(VG_MAX_IMAGE_HEIGHT)) {
+ width > vegaGeti(VG_MAX_IMAGE_WIDTH) ||
+ height > vegaGeti(VG_MAX_IMAGE_HEIGHT)) {
vg_set_error(ctx, VG_ILLEGAL_ARGUMENT_ERROR);
return VG_INVALID_HANDLE;
}