Fixed unreachable code warning

This commit is contained in:
Sam Lantinga 2022-11-29 18:03:47 -08:00
parent a52327f6b8
commit 6ca7212b75
1 changed files with 0 additions and 1 deletions

View File

@ -3918,7 +3918,6 @@ SDL_GL_GetAttribute(SDL_GLattr attr, int *value)
*value = _this->gl_config.egl_platform;
return 0;
}
break;
default:
return SDL_SetError("Unknown OpenGL attribute");
}