summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/feedback.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-02-27 22:04:58 -0700
committerBrian Paul <[email protected]>2009-02-28 09:35:15 -0700
commitf6021ab3c631345d013437d53a7bc1a4e2359ad4 (patch)
tree8e1e2d468fea5ec829f81716a7983f2709c5f246 /src/mesa/main/feedback.c
parent7f25d9ebb4856273c46ea4bbba4152b85f610a91 (diff)
mesa: remove dead code
Diffstat (limited to 'src/mesa/main/feedback.c')
-rw-r--r--src/mesa/main/feedback.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mesa/main/feedback.c b/src/mesa/main/feedback.c
index 48c2ccbff30..69b235a3e57 100644
--- a/src/mesa/main/feedback.c
+++ b/src/mesa/main/feedback.c
@@ -126,20 +126,8 @@ void _mesa_feedback_vertex( GLcontext *ctx,
GLfloat index,
const GLfloat texcoord[4] )
{
-#if 0
- {
- /* snap window x, y to fractional pixel position */
- const GLint snapMask = ~((FIXED_ONE / (1 << SUB_PIXEL_BITS)) - 1);
- GLfixed x, y;
- x = FloatToFixed(win[0]) & snapMask;
- y = FloatToFixed(win[1]) & snapMask;
- FEEDBACK_TOKEN(ctx, FixedToFloat(x));
- FEEDBACK_TOKEN(ctx, FixedToFloat(y) );
- }
-#else
FEEDBACK_TOKEN( ctx, win[0] );
FEEDBACK_TOKEN( ctx, win[1] );
-#endif
if (ctx->Feedback._Mask & FB_3D) {
FEEDBACK_TOKEN( ctx, win[2] );
}