{"action":"opened","issue":{"url":"https://api.github.com/repos/guaxiao/renderer.gua/issues/4","labels_url":"https://api.github.com/repos/guaxiao/renderer.gua/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/guaxiao/renderer.gua/issues/4/comments","events_url":"https://api.github.com/repos/guaxiao/renderer.gua/issues/4/events","html_url":"https://github.com/guaxiao/renderer.gua/issues/4","id":95768906,"number":4,"title":"Visual Studio 2015 支持","user":{"login":"happlebao","id":1169912,"avatar_url":"https://avatars.githubusercontent.com/u/1169912?v=3","gravatar_id":"","url":"https://api.github.com/users/happlebao","html_url":"https://github.com/happlebao","followers_url":"https://api.github.com/users/happlebao/followers","following_url":"https://api.github.com/users/happlebao/following{/other_user}","gists_url":"https://api.github.com/users/happlebao/gists{/gist_id}","starred_url":"https://api.github.com/users/happlebao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/happlebao/subscriptions","organizations_url":"https://api.github.com/users/happlebao/orgs","repos_url":"https://api.github.com/users/happlebao/repos","events_url":"https://api.github.com/users/happlebao/events{/privacy}","received_events_url":"https://api.github.com/users/happlebao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-18T00:13:38Z","updated_at":"2015-07-18T00:13:38Z","closed_at":null,"body":"1. 在这个 [PR](https://github.com/guaxiao/renderer.gua/pull/1) 中，你建议把`project file`单独放到一个文件夹中。对应的`lib`的`dll`也要放过去吗？\r\n因为要支持`VS2015`的话，就要重新编译源代码。所以就会有不同的 lib 和 dll。\r\n经测试，官方最新的 [`build`](https://buildbot.libsdl.org/sdl-builds/sdl-visualstudio/sdl-visualstudio-2519.zip) 是可以在`VS2015`下面用的。\r\n![VS2015 result](http://i.imgur.com/WLdouXz.png)\r\n\r\n2. 能说下为什么用`sdl1`而不是`sdl2`吗？因为最新的`build`用的是`sdl2`。\r\n我照着官方的[迁移指南](https://wiki.libsdl.org/MigrationGuide)对`windows.h`做了些修改，你看看？https://github.com/happlebao/renderer.gua/blob/sdl2/src/window.h \r\n你觉得那个`null` 的检查需不需要单独抽成一个函数？\r\n\r\n\r\n"}}