intel: Replace IS_IGDNG checks with intel->is_ironlake or needs_ff_sync.

Saves ~480 bytes of code.
This commit is contained in:
Eric Anholt
2009-12-16 14:45:50 -08:00
parent b08ed4f595
commit 1c96e85c9d
24 changed files with 108 additions and 62 deletions

View File

@@ -620,6 +620,11 @@ intelInitContext(struct intel_context *intel,
else
intel->gen = 2;
if (IS_IGDNG(intel->intelScreen->deviceID)) {
intel->is_ironlake = GL_TRUE;
intel->needs_ff_sync = GL_TRUE;
}
/* Dri stuff */
intel->hHWContext = driContextPriv->hHWContext;
intel->driFd = sPriv->fd;