diff options
author | Dave Airlie <[email protected]> | 2011-10-29 08:39:54 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-10-30 16:40:56 +0000 |
commit | 56d30bb00d40cd391d7a469604792a27ddcc459c (patch) | |
tree | 341324f0fee1aad34886f8ece231d4a6a0021f1d /src/mesa/drivers/dri/r200/r200_swtcl.c | |
parent | e252af3406e46fab713b43d0d38f22ccecf2ebeb (diff) |
radeon/r200: drop remains of r300/r600 support along with old drm 1.x kernel
This drops all the old drmSupports* checks since KMS does them all, and it
also drop R300_CLASS and R600_CLASS.
Signed-off-by: Dave Airlie <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_swtcl.c')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_swtcl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_swtcl.c b/src/mesa/drivers/dri/r200/r200_swtcl.c index dad2bc76ab6..62034eb0e45 100644 --- a/src/mesa/drivers/dri/r200/r200_swtcl.c +++ b/src/mesa/drivers/dri/r200/r200_swtcl.c @@ -319,8 +319,7 @@ static INLINE GLuint reduced_hw_prim( struct gl_context *ctx, GLuint prim) { switch (prim) { case GL_POINTS: - return (((R200_CONTEXT(ctx))->radeon.radeonScreen->drmSupportsPointSprites && - !(ctx->_TriangleCaps & DD_POINT_SMOOTH)) ? + return ((!(ctx->_TriangleCaps & DD_POINT_SMOOTH)) ? R200_VF_PRIM_POINT_SPRITES : R200_VF_PRIM_POINTS); case GL_LINES: /* fallthrough */ |