summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915simple/i915_state_emit.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@aurora.(none)>2008-06-02 12:55:35 +0200
committerJakob Bornecrantz <jakob@aurora.(none)>2008-06-02 13:00:32 +0200
commitc1949e2bd3acc45c23cc434eef2b0d6aae9092ca (patch)
tree5881f863604cf0331e7af97f40dc74f2a1efcc24 /src/gallium/drivers/i915simple/i915_state_emit.c
parentf4364cd1a6f9e825ea183c1fa6d1050b7e113695 (diff)
i915: Fixed some warnings
Diffstat (limited to 'src/gallium/drivers/i915simple/i915_state_emit.c')
-rw-r--r--src/gallium/drivers/i915simple/i915_state_emit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915simple/i915_state_emit.c b/src/gallium/drivers/i915simple/i915_state_emit.c
index 8bcc26ad35..de0c1a787a 100644
--- a/src/gallium/drivers/i915simple/i915_state_emit.c
+++ b/src/gallium/drivers/i915simple/i915_state_emit.c
@@ -377,6 +377,7 @@ i915_emit_hardware_state(struct i915_context *i915 )
{
uint w, h;
boolean k = framebuffer_size(&i915->framebuffer, &w, &h);
+ (void)k;
assert(k);
OUT_BATCH(_3DSTATE_DRAW_RECT_CMD);