summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-06-20 15:27:21 -0700
committerKenneth Graunke <[email protected]>2013-06-28 13:35:24 -0700
commit173666e2ed7ed71ae7aafa1780aa44d90ef7cb4a (patch)
treecf0e8728abcc8931f06d83efdcec91c586f3c665 /src
parentf6426509dcbe6ff1332f30f74d9cf2ec3c00908f (diff)
i915: Drop 965+ GL version setup.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i915/intel_screen.c23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c
index cd4706cd69b..7bb2e4ea353 100644
--- a/src/mesa/drivers/dri/i915/intel_screen.c
+++ b/src/mesa/drivers/dri/i915/intel_screen.c
@@ -1065,33 +1065,12 @@ set_max_gl_versions(struct intel_screen *screen)
int gl_version_override = _mesa_get_gl_version_override();
switch (screen->gen) {
- case 7:
- screen->max_gl_core_version = 31;
- screen->max_gl_compat_version = 30;
- screen->max_gl_es1_version = 11;
- screen->max_gl_es2_version = 30;
- break;
- case 6:
- screen->max_gl_core_version = 31;
- screen->max_gl_compat_version = 30;
- screen->max_gl_es1_version = 11;
- screen->max_gl_es2_version = 30;
- break;
- case 5:
- case 4:
- screen->max_gl_core_version = 0;
- screen->max_gl_compat_version = 21;
- screen->max_gl_es1_version = 11;
- screen->max_gl_es2_version = 20;
- break;
- case 3: {
+ case 3:
screen->max_gl_core_version = 0;
screen->max_gl_es1_version = 11;
screen->max_gl_compat_version = 21;
screen->max_gl_es2_version = 20;
-
break;
- }
case 2:
screen->max_gl_core_version = 0;
screen->max_gl_compat_version = 13;