nouveau: fix typo
authorBen Skeggs <skeggsb@gmail.com>
Tue, 20 Mar 2007 04:59:55 +0000 (15:59 +1100)
committerBen Skeggs <skeggsb@gmail.com>
Tue, 20 Mar 2007 05:08:14 +0000 (16:08 +1100)
src/mesa/drivers/dri/nouveau/nouveau_sync.c

index 428b19b46eac13fe22daae103daf7e6f821740cd..30e66962699ffeb68c70f85d8e5b4915a6186e0a 100644 (file)
@@ -124,7 +124,7 @@ nouveau_notifier_wait_status(nouveau_notifier *notifier, GLuint id,
        while (time <= timeout) {
                if (n[NV_NOTIFY_STATE/4] & NV_NOTIFY_STATE_ERROR_CODE_MASK) {
                        MESSAGE("Notifier returned error: 0x%04x\n",
-                                       n[NV_NOTIFY_STATE] &
+                                       n[NV_NOTIFY_STATE/4] &
                                        NV_NOTIFY_STATE_ERROR_CODE_MASK);
                        return GL_FALSE;
                }