mirror of https://github.com/libsdl-org/SDL
Fixed unreachable code warning
This commit is contained in:
parent
a52327f6b8
commit
6ca7212b75
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue