Skip to content

Commit

Permalink
Mesa: add upstream patch
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Raue <stephan@openelec.tv>
  • Loading branch information
sraue committed Jul 20, 2012
1 parent 00532b8 commit e6d7126
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions packages/graphics/Mesa/patches/Mesa-8.0.4-9b3ac17.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
diff -Naur Mesa-8.0.4-old/src/mesa/drivers/dri/intel/intel_screen.c Mesa-8.0.4-new/src/mesa/drivers/dri/intel/intel_screen.c
--- Mesa-8.0.4-old/src/mesa/drivers/dri/intel/intel_screen.c 2012-03-22 10:10:16.000000000 -0700
+++ Mesa-8.0.4-new/src/mesa/drivers/dri/intel/intel_screen.c 2012-07-16 12:27:37.000000000 -0700
@@ -118,13 +118,15 @@
if (intel == NULL)
return;

- if (intel->gen < 4)
- INTEL_FIREVERTICES(intel);
+ if (intel != NULL) {
+ if (intel->gen < 4)
+ INTEL_FIREVERTICES(intel);

- intel->need_throttle = true;
+ intel->need_throttle = true;

- if (intel->batch.used)
- intel_batchbuffer_flush(intel);
+ if (intel->batch.used)
+ intel_batchbuffer_flush(intel);
+ }
}

static const struct __DRI2flushExtensionRec intelFlushExtension = {

0 comments on commit e6d7126

Please sign in to comment.