diff options
author | brianp <brianp> | 2001-01-22 17:32:24 +0000 |
---|---|---|
committer | brianp <brianp> | 2001-01-22 17:32:24 +0000 |
commit | 0640c2914b230524ac4f44f10a2a736bdb81e126 (patch) | |
tree | 47d02b91412c1f3bddd925aefeec271f14925179 /xc | |
parent | 80ef6438f06545387606ec1521a349d5b6ac7d20 (diff) |
adjusted SUBPIXEL_X/Y offsets to fix xformn.c failure
Diffstat (limited to 'xc')
-rw-r--r-- | xc/lib/GL/mesa/src/drv/r128/r128_context.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xc/lib/GL/mesa/src/drv/r128/r128_context.h b/xc/lib/GL/mesa/src/drv/r128/r128_context.h index 506abca4c..f323d62c9 100644 --- a/xc/lib/GL/mesa/src/drv/r128/r128_context.h +++ b/xc/lib/GL/mesa/src/drv/r128/r128_context.h @@ -88,15 +88,15 @@ typedef struct r128_context *r128ContextPtr; #define R128_BLEND_ENV_COLOR 0x1 #define R128_BLEND_MULTITEX 0x2 -/* Subpixel offsets for window coordinates: +/* Subpixel offsets for window coordinates (triangles): */ -#define SUBPIXEL_X (-0.125F) -#define SUBPIXEL_Y ( 0.375F) +#define SUBPIXEL_X (0.0F) +#define SUBPIXEL_Y (0.125F) /* Offset for points: */ -#define PNT_X_OFFSET 0.25 -#define PNT_Y_OFFSET -0.375 +#define PNT_X_OFFSET ( 0.125F) +#define PNT_Y_OFFSET (-0.125F) typedef void (*r128_interp_func)( GLfloat t, |