i965: Fix up some Sandybridge define checks for the structure rebase.

This commit is contained in:
Eric Anholt
2009-12-21 14:28:18 -08:00
parent 591a996ab6
commit 1489f108f4
2 changed files with 5 additions and 3 deletions

View File

@@ -612,6 +612,8 @@ intelInitContext(struct intel_context *intel,
if (IS_GEN6(intel->intelScreen->deviceID)) {
intel->gen = 6;
intel->needs_ff_sync = GL_TRUE;
intel->has_luminance_srgb = GL_TRUE;
} else if (IS_965(intel->intelScreen->deviceID)) {
intel->gen = 4;
} else if (IS_9XX(intel->intelScreen->deviceID)) {