mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
fix bzflag crashes
This commit is contained in:
parent
cd3c9febda
commit
3345ab8ccf
2 changed files with 6 additions and 0 deletions
|
|
@ -215,6 +215,9 @@ i830_reduced_primitive_state(struct intel_context *intel, GLenum rprim)
|
|||
i830->intel.reduced_primitive = rprim;
|
||||
|
||||
if (st1 != i830->state.Stipple[I830_STPREG_ST1]) {
|
||||
if (intel->prim.flush)
|
||||
intel->prim.flush(intel);
|
||||
|
||||
I830_STATECHANGE(i830, I830_UPLOAD_STIPPLE);
|
||||
i830->state.Stipple[I830_STPREG_ST1] = st1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -74,6 +74,9 @@ i915_reduced_primitive_state(struct intel_context *intel, GLenum rprim)
|
|||
i915->intel.reduced_primitive = rprim;
|
||||
|
||||
if (st1 != i915->state.Stipple[I915_STPREG_ST1]) {
|
||||
if (intel->prim.flush)
|
||||
intel->prim.flush(intel);
|
||||
|
||||
I915_STATECHANGE(i915, I915_UPLOAD_STIPPLE);
|
||||
i915->state.Stipple[I915_STPREG_ST1] = st1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue