diff options
author | Eric Anholt <[email protected]> | 2013-03-28 15:58:25 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-03-30 17:23:50 -0700 |
commit | 9dd19575d33b907be655586fbaf9569d9afc2711 (patch) | |
tree | 5381c8bf80a56ae0d6590f482470ae6cc84384f7 /src/mesa/drivers/dri | |
parent | c34bbe110d1e562b1594a9a4f2e83a2ab5630036 (diff) |
intel: Remove a never-taken debug print path.
Alessandro Pignotti noted when I added this code in commit
0e723b135bfd59868c92c3ae243f1adaedaec3a5 that it's in the else block for
"if (busy)", so this debug print couldn't happen.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_buffer_objects.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_buffer_objects.c b/src/mesa/drivers/dri/intel/intel_buffer_objects.c index ac265db4a66..e270db86cf6 100644 --- a/src/mesa/drivers/dri/intel/intel_buffer_objects.c +++ b/src/mesa/drivers/dri/intel/intel_buffer_objects.c @@ -227,11 +227,6 @@ intel_bufferobj_subdata(struct gl_context * ctx, drm_intel_bo_unreference(temp_bo); } } else { - if (unlikely(intel->perf_debug)) { - if (drm_intel_bo_busy(intel_obj->buffer)) { - perf_debug("Stalling on the GPU in glBufferSubData().\n"); - } - } drm_intel_bo_subdata(intel_obj->buffer, offset, size, data); } } |