diff options
author | Brian Paul <[email protected]> | 2006-01-26 01:32:47 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-01-26 01:32:47 +0000 |
commit | 3a5bb1729d8c229a587e34ccd5ddc86e26811b9f (patch) | |
tree | 332757da105c23529cfa85ddde5fe290ce6e3eb2 /src/mesa/drivers/x11 | |
parent | 2219a15b06ba1f72d74b79047e52840d167f03b7 (diff) |
New comments, clean-up of fields related to point/line/triangle validation.
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r-- | src/mesa/drivers/x11/xm_dd.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/mesa/drivers/x11/xm_dd.c b/src/mesa/drivers/x11/xm_dd.c index e6f90d35bb2..7a519335cc3 100644 --- a/src/mesa/drivers/x11/xm_dd.c +++ b/src/mesa/drivers/x11/xm_dd.c @@ -1293,8 +1293,10 @@ xmesa_init_driver_functions( XMesaVisual xmvisual, _SWRAST_NEW_RASTERMASK) -/* Extend the software rasterizer with our line/point/triangle +/** + * Extend the software rasterizer with our line/point/triangle * functions. + * Called during context creation only. */ void xmesa_register_swrast_functions( GLcontext *ctx ) { @@ -1304,7 +1306,8 @@ void xmesa_register_swrast_functions( GLcontext *ctx ) swrast->choose_line = xmesa_choose_line; swrast->choose_triangle = xmesa_choose_triangle; - swrast->invalidate_point |= XMESA_NEW_POINT; - swrast->invalidate_line |= XMESA_NEW_LINE; - swrast->invalidate_triangle |= XMESA_NEW_TRIANGLE; + /* XXX these lines have no net effect. Remove??? */ + swrast->InvalidatePointMask |= XMESA_NEW_POINT; + swrast->InvalidateLineMask |= XMESA_NEW_LINE; + swrast->InvalidateTriangleMask |= XMESA_NEW_TRIANGLE; } |