Fixed unreachable code warning
This commit is contained in:
@@ -3918,7 +3918,6 @@ SDL_GL_GetAttribute(SDL_GLattr attr, int *value)
|
|||||||
*value = _this->gl_config.egl_platform;
|
*value = _this->gl_config.egl_platform;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
return SDL_SetError("Unknown OpenGL attribute");
|
return SDL_SetError("Unknown OpenGL attribute");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user