mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 19:50:11 +01:00
swrast: add missing switch case for API_OPENGL_CORE
To silence compiler warning. Reviewed-by: José Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
b4d6502fcd
commit
ecac178aa2
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue