summaryrefslogtreecommitdiff
path: root/src/mesa/main/points.c
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2006-12-13 15:31:14 -0700
committerBrian <brian@yutani.localnet.net>2006-12-13 15:31:14 -0700
commit8dcfcad7a2598ba835930aac8f3fd6576e464c1c (patch)
tree980a80caa5c4c2666b106285d72bcff009adde25 /src/mesa/main/points.c
parent6c305c083113075a1f11d5081b8c9dd1b98a7b1e (diff)
Move all the code for computing ctx->_TriangleCaps into state.c.
ctx->_TriangleCaps should probably go away altogether someday...
Diffstat (limited to 'src/mesa/main/points.c')
-rw-r--r--src/mesa/main/points.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/mesa/main/points.c b/src/mesa/main/points.c
index aa36fb6287..c6b032460e 100644
--- a/src/mesa/main/points.c
+++ b/src/mesa/main/points.c
@@ -5,9 +5,9 @@
/*
* Mesa 3-D graphics library
- * Version: 6.5
+ * Version: 6.5.1
*
- * Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -244,19 +244,9 @@ _mesa_update_point(GLcontext *ctx)
ctx->Point.MinSize,
ctx->Point.MaxSize);
- if (ctx->Point._Size == 1.0F)
- ctx->_TriangleCaps &= ~DD_POINT_SIZE;
- else
- ctx->_TriangleCaps |= DD_POINT_SIZE;
-
ctx->Point._Attenuated = (ctx->Point.Params[0] != 1.0 ||
ctx->Point.Params[1] != 0.0 ||
ctx->Point.Params[2] != 0.0);
-
- if (ctx->Point._Attenuated)
- ctx->_TriangleCaps |= DD_POINT_ATTEN;
- else
- ctx->_TriangleCaps &= ~DD_POINT_ATTEN;
}