summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/radeon_context.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-02-16 15:02:25 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-02-16 15:02:25 +0000
commit2c28dd892cfb43445d7e54df8b6a8331192f4e99 (patch)
tree43b89841d341f06d8f903ea9e93861981843932b /src/mesa/drivers/dri/radeon/radeon_context.c
parent5c2f3d5d3aea45363d49bab0079ffe0219eaaaed (diff)
s/0/NULL/ (Jeff Muizelaar)
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_context.c')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_context.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_context.c b/src/mesa/drivers/dri/radeon/radeon_context.c
index 4765445a3b..6a2f3dc353 100644
--- a/src/mesa/drivers/dri/radeon/radeon_context.c
+++ b/src/mesa/drivers/dri/radeon/radeon_context.c
@@ -172,7 +172,7 @@ static const struct tnl_pipeline_stage *radeon_pipeline[] = {
&_radeon_render_stage,
&_tnl_render_stage, /* FALLBACK: */
- 0,
+ NULL,
};
@@ -526,7 +526,7 @@ void radeonDestroyContext( __DRIcontextPrivate *driContextPriv )
if (rmesa->state.scissor.pClipRects) {
FREE(rmesa->state.scissor.pClipRects);
- rmesa->state.scissor.pClipRects = 0;
+ rmesa->state.scissor.pClipRects = NULL;
}
if ( release_texture_heaps ) {
@@ -612,7 +612,7 @@ radeonMakeCurrent( __DRIcontextPrivate *driContextPriv,
} else {
if (RADEON_DEBUG & DEBUG_DRI)
fprintf(stderr, "%s ctx is null\n", __FUNCTION__);
- _mesa_make_current( 0, 0 );
+ _mesa_make_current( NULL, NULL );
}
if (RADEON_DEBUG & DEBUG_DRI)