fix for older gcc's (from freedesktop bug id #419)
This commit is contained in:
parent
160215bdeb
commit
869fc59b63
|
@ -360,9 +360,11 @@ static void i830_emit_state( intelContextPtr intel )
|
||||||
{
|
{
|
||||||
i830ContextPtr i830 = I830_CONTEXT(intel);
|
i830ContextPtr i830 = I830_CONTEXT(intel);
|
||||||
struct i830_hw_state *state = i830->current;
|
struct i830_hw_state *state = i830->current;
|
||||||
BATCH_LOCALS;
|
|
||||||
int i;
|
int i;
|
||||||
GLuint dirty = state->active & ~state->emitted;
|
GLuint dirty;
|
||||||
|
BATCH_LOCALS;
|
||||||
|
|
||||||
|
dirty = state->active & ~state->emitted;
|
||||||
|
|
||||||
if (dirty & I830_UPLOAD_CTX) {
|
if (dirty & I830_UPLOAD_CTX) {
|
||||||
if (VERBOSE) fprintf(stderr, "I830_UPLOAD_CTX:\n");
|
if (VERBOSE) fprintf(stderr, "I830_UPLOAD_CTX:\n");
|
||||||
|
|
|
@ -219,9 +219,9 @@ static void i915_emit_state( intelContextPtr intel )
|
||||||
{
|
{
|
||||||
i915ContextPtr i915 = I915_CONTEXT(intel);
|
i915ContextPtr i915 = I915_CONTEXT(intel);
|
||||||
struct i915_hw_state *state = i915->current;
|
struct i915_hw_state *state = i915->current;
|
||||||
BATCH_LOCALS;
|
|
||||||
int i;
|
int i;
|
||||||
GLuint dirty;
|
GLuint dirty;
|
||||||
|
BATCH_LOCALS;
|
||||||
|
|
||||||
/* More to workaround the multitex hang - if one texture unit state
|
/* More to workaround the multitex hang - if one texture unit state
|
||||||
* is modified, emit all texture units.
|
* is modified, emit all texture units.
|
||||||
|
|
Loading…
Reference in New Issue