{"action":"created","issue":{"url":"https://api.github.com/repos/aochagavia/rocket/issues/69","repository_url":"https://api.github.com/repos/aochagavia/rocket","labels_url":"https://api.github.com/repos/aochagavia/rocket/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/aochagavia/rocket/issues/69/comments","events_url":"https://api.github.com/repos/aochagavia/rocket/issues/69/events","html_url":"https://github.com/aochagavia/rocket/issues/69","id":279984605,"number":69,"title":"errors running `cargo run --release`","user":{"login":"acheronfail","id":34289614,"avatar_url":"https://avatars3.githubusercontent.com/u/34289614?v=4","gravatar_id":"","url":"https://api.github.com/users/acheronfail","html_url":"https://github.com/acheronfail","followers_url":"https://api.github.com/users/acheronfail/followers","following_url":"https://api.github.com/users/acheronfail/following{/other_user}","gists_url":"https://api.github.com/users/acheronfail/gists{/gist_id}","starred_url":"https://api.github.com/users/acheronfail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acheronfail/subscriptions","organizations_url":"https://api.github.com/users/acheronfail/orgs","repos_url":"https://api.github.com/users/acheronfail/repos","events_url":"https://api.github.com/users/acheronfail/events{/privacy}","received_events_url":"https://api.github.com/users/acheronfail/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-12-07T03:06:15Z","updated_at":"2017-12-15T22:12:10Z","closed_at":null,"author_association":"NONE","body":"Hi there, I'm attempting to run `cargo run --release` and I'm running into 19 errors which are all similar to:\r\n\r\n```\r\nerror: type `private::ffi::CGSRegionObject` is private\r\n  --> /Users/<user>/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:81:21\r\n   |\r\n81 |             assert!(ffi::CGSSetSurfaceShape(self.context_id,\r\n   |\r\n```\r\n\r\nI'm running `rustc 1.22.1` and I'm on `macOS 10.12.6`. Any idea what could be causing this issue?"},"comment":{"url":"https://api.github.com/repos/aochagavia/rocket/issues/comments/352124930","html_url":"https://github.com/aochagavia/rocket/issues/69#issuecomment-352124930","issue_url":"https://api.github.com/repos/aochagavia/rocket/issues/69","id":352124930,"user":{"login":"aochagavia","id":5196584,"avatar_url":"https://avatars1.githubusercontent.com/u/5196584?v=4","gravatar_id":"","url":"https://api.github.com/users/aochagavia","html_url":"https://github.com/aochagavia","followers_url":"https://api.github.com/users/aochagavia/followers","following_url":"https://api.github.com/users/aochagavia/following{/other_user}","gists_url":"https://api.github.com/users/aochagavia/gists{/gist_id}","starred_url":"https://api.github.com/users/aochagavia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aochagavia/subscriptions","organizations_url":"https://api.github.com/users/aochagavia/orgs","repos_url":"https://api.github.com/users/aochagavia/repos","events_url":"https://api.github.com/users/aochagavia/events{/privacy}","received_events_url":"https://api.github.com/users/aochagavia/received_events","type":"User","site_admin":false},"created_at":"2017-12-15T22:12:10Z","updated_at":"2017-12-15T22:12:10Z","author_association":"OWNER","body":"I would expect there to be a way of drawing images at runtime. It looks like [this function](https://docs.rs/ggez/0.3.4/ggez/graphics/type.Image.html#method.from_rgba8) allows that. However, it expects a bitmap as a parameter, which is kind of annoying because it means you first need to generate a bitmap of the circle. As far as I know, there are no functions available to generate the bitmap of a circle.\r\n\r\nI suggest you use `Image::solid` for debugging (see [the docs](https://docs.rs/ggez/0.3.4/ggez/graphics/type.Image.html#method.solid) for details). This way we can test whether `SpriteBatch` solves the slowdown. After that, the next step would be to open an issue on ggez's repository to request the feature of drawing to an image or asking for advice on how to approach the problem."}}
{"actor":{"display_login":"aochagavia"}}