{"action":"created","issue":{"url":"https://api.github.com/repos/ggez/ggez/issues/175","repository_url":"https://api.github.com/repos/ggez/ggez","labels_url":"https://api.github.com/repos/ggez/ggez/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/ggez/ggez/issues/175/comments","events_url":"https://api.github.com/repos/ggez/ggez/issues/175/events","html_url":"https://github.com/ggez/ggez/issues/175","id":262755084,"number":175,"title":"Cannot set portrait dimensions for the window","user":{"login":"TatriX","id":703150,"avatar_url":"https://avatars2.githubusercontent.com/u/703150?v=4","gravatar_id":"","url":"https://api.github.com/users/TatriX","html_url":"https://github.com/TatriX","followers_url":"https://api.github.com/users/TatriX/followers","following_url":"https://api.github.com/users/TatriX/following{/other_user}","gists_url":"https://api.github.com/users/TatriX/gists{/gist_id}","starred_url":"https://api.github.com/users/TatriX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TatriX/subscriptions","organizations_url":"https://api.github.com/users/TatriX/orgs","repos_url":"https://api.github.com/users/TatriX/repos","events_url":"https://api.github.com/users/TatriX/events{/privacy}","received_events_url":"https://api.github.com/users/TatriX/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-04T11:34:50Z","updated_at":"2017-10-04T20:11:13Z","closed_at":null,"author_association":"NONE","body":"When I'm setting\r\n```rust\r\n    let mut c = conf::Conf::new();\r\n    c.window_width = 720.0;\r\n    c.window_height = 1280.0;\r\n```\r\nI get the error:\r\n```\r\nthread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: WindowError(SdlError(\"Couldn\\'t find display mode match\"))', /checkout/src/libcore/result.rs:906:4\r\n```"},"comment":{"url":"https://api.github.com/repos/ggez/ggez/issues/comments/334274911","html_url":"https://github.com/ggez/ggez/issues/175#issuecomment-334274911","issue_url":"https://api.github.com/repos/ggez/ggez/issues/175","id":334274911,"user":{"login":"TakWolf","id":6064962,"avatar_url":"https://avatars2.githubusercontent.com/u/6064962?v=4","gravatar_id":"","url":"https://api.github.com/users/TakWolf","html_url":"https://github.com/TakWolf","followers_url":"https://api.github.com/users/TakWolf/followers","following_url":"https://api.github.com/users/TakWolf/following{/other_user}","gists_url":"https://api.github.com/users/TakWolf/gists{/gist_id}","starred_url":"https://api.github.com/users/TakWolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TakWolf/subscriptions","organizations_url":"https://api.github.com/users/TakWolf/orgs","repos_url":"https://api.github.com/users/TakWolf/repos","events_url":"https://api.github.com/users/TakWolf/events{/privacy}","received_events_url":"https://api.github.com/users/TakWolf/received_events","type":"User","site_admin":false},"created_at":"2017-10-04T20:11:13Z","updated_at":"2017-10-04T20:11:13Z","author_association":"NONE","body":"I think this is an error from SDL.\r\nWhen you set width or height value more than your monitor device real size, it will cause this error.\r\n\r\nMy monitor is 1366 * 768. So if I set width = 1367 or  height = 769, it will cause \"Couldn\\'t find display mode match\".\r\n"}}
{"actor":{"display_login":"TakWolf"}}