diff options
author | Brian Paul <[email protected]> | 2013-04-16 19:06:22 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-04-17 11:59:40 -0600 |
commit | 4f57fbb507c77a627c9660756ce1b7ab8bcfeb78 (patch) | |
tree | 1cd622fc5872489415e567db46b6ff7debeb2a63 /src/mesa/drivers/dri/r200 | |
parent | 8ac8ae83609d5d5f28037ccd5b81ce5e40db2d33 (diff) |
mesa: remove DD_POINT_SMOOTH flag
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_swtcl.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_tcl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_swtcl.c b/src/mesa/drivers/dri/r200/r200_swtcl.c index 25bae21adf8..5c6e276dc95 100644 --- a/src/mesa/drivers/dri/r200/r200_swtcl.c +++ b/src/mesa/drivers/dri/r200/r200_swtcl.c @@ -318,7 +318,7 @@ static INLINE GLuint reduced_hw_prim( struct gl_context *ctx, GLuint prim) { switch (prim) { case GL_POINTS: - return ((!(ctx->_TriangleCaps & DD_POINT_SMOOTH)) ? + return ((!ctx->Point.SmoothFlag) ? R200_VF_PRIM_POINT_SPRITES : R200_VF_PRIM_POINTS); case GL_LINES: /* fallthrough */ diff --git a/src/mesa/drivers/dri/r200/r200_tcl.c b/src/mesa/drivers/dri/r200/r200_tcl.c index 703840d5585..548947d5c7e 100644 --- a/src/mesa/drivers/dri/r200/r200_tcl.c +++ b/src/mesa/drivers/dri/r200/r200_tcl.c @@ -69,7 +69,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define HAVE_ELTS 1 -#define HW_POINTS ((!(ctx->_TriangleCaps & DD_POINT_SMOOTH)) ? \ +#define HW_POINTS ((!ctx->Point.SmoothFlag) ? \ R200_VF_PRIM_POINT_SPRITES : R200_VF_PRIM_POINTS) #define HW_LINES R200_VF_PRIM_LINES #define HW_LINE_LOOP 0 |