diff options
author | Eric Anholt <eric@anholt.net> | 2010-06-07 09:52:57 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-06-08 13:42:02 -0700 |
commit | 34474fa4119378ef9fbb9fb557cc19c0a1ca1f7e (patch) | |
tree | 0d0a246b981cc60fc70d6cf6103b05d0df045c23 /src/mesa/drivers/dri/i965/brw_program.c | |
parent | 22409756d4ed941f2ec6729ab0c312149749106f (diff) |
intel: Change dri_bo_* to drm_intel_bo* to consistently use new API.
The slightly less mechanical change of converting the emit_reloc calls
will follow.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_program.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_program.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_program.c b/src/mesa/drivers/dri/i965/brw_program.c index 41a1f438df..b44742b765 100644 --- a/src/mesa/drivers/dri/i965/brw_program.c +++ b/src/mesa/drivers/dri/i965/brw_program.c @@ -99,14 +99,14 @@ static void brwDeleteProgram( GLcontext *ctx, struct gl_fragment_program *fp = (struct gl_fragment_program *) prog; struct brw_fragment_program *brw_fp = brw_fragment_program(fp); - dri_bo_unreference(brw_fp->const_buffer); + drm_intel_bo_unreference(brw_fp->const_buffer); } if (prog->Target == GL_VERTEX_PROGRAM_ARB) { struct gl_vertex_program *vp = (struct gl_vertex_program *) prog; struct brw_vertex_program *brw_vp = brw_vertex_program(vp); - dri_bo_unreference(brw_vp->const_buffer); + drm_intel_bo_unreference(brw_vp->const_buffer); } _mesa_delete_program( ctx, prog ); |