diff options
author | Brian Paul <[email protected]> | 2012-08-08 09:39:36 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-08-08 09:39:36 -0600 |
commit | ecac178aa2591afc36e5d34d11a773ff07cb71b1 (patch) | |
tree | e9ba6e3d25330c8feb55ede61a0231739cd7c563 /src/mesa/drivers/dri/swrast | |
parent | b4d6502fcd4d779dfebefbf6e76110e046d9e1c1 (diff) |
swrast: add missing switch case for API_OPENGL_CORE
To silence compiler warning.
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/swrast')
-rw-r--r-- | src/mesa/drivers/dri/swrast/swrast.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c index 22d71bf1024..ca6bda02781 100644 --- a/src/mesa/drivers/dri/swrast/swrast.c +++ b/src/mesa/drivers/dri/swrast/swrast.c @@ -771,6 +771,8 @@ dri_create_context(gl_api api, _mesa_enable_sw_extensions(mesaCtx); switch (api) { + case API_OPENGL_CORE: + /* XXX fix me, fall-through for now */ case API_OPENGL: _mesa_enable_1_3_extensions(mesaCtx); _mesa_enable_1_4_extensions(mesaCtx); |