diff options
author | Keith Whitwell <[email protected]> | 2009-10-23 23:27:43 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-10-23 23:27:43 +0100 |
commit | 22906f730141a233341f3ec124bbb9dd2e8904e2 (patch) | |
tree | 57cab9cdef3e4d6236b859193348f45ecc37f8d4 /src/gallium/drivers/i965/brw_state_upload.c | |
parent | 6b48fb002257e6f221dd9d8439a5e1aa718ed2cc (diff) |
i965g: wip on removing GL stuff, trying to get a few files compiling
Diffstat (limited to 'src/gallium/drivers/i965/brw_state_upload.c')
-rw-r--r-- | src/gallium/drivers/i965/brw_state_upload.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/i965/brw_state_upload.c b/src/gallium/drivers/i965/brw_state_upload.c index 68010846169..b68b6cb21a9 100644 --- a/src/gallium/drivers/i965/brw_state_upload.c +++ b/src/gallium/drivers/i965/brw_state_upload.c @@ -149,7 +149,7 @@ brw_clear_validated_bos(struct brw_context *brw) /* Clear the last round of validated bos */ for (i = 0; i < brw->state.validated_bo_count; i++) { - dri_bo_unreference(brw->state.validated_bos[i]); + brw->sws->bo_unreference(brw->state.validated_bos[i]); brw->state.validated_bos[i] = NULL; } brw->state.validated_bo_count = 0; @@ -272,8 +272,6 @@ brw_print_dirty_count(struct dirty_bit_map *bit_map, int32_t bits) */ enum pipe_error brw_validate_state( struct brw_context *brw ) { - GLcontext *ctx = &brw->intel.ctx; - struct intel_context *intel = &brw->intel; struct brw_state_flags *state = &brw->state.dirty; GLuint i; |