{"id":2603,"date":"2012-07-28T22:46:17","date_gmt":"2012-07-28T12:46:17","guid":{"rendered":"http:\/\/www.vectorstorm.org\/?p=2603"},"modified":"2012-07-28T22:46:17","modified_gmt":"2012-07-28T12:46:17","slug":"a-days-work","status":"publish","type":"post","link":"https:\/\/www.vectorstorm.com.au\/2012\/07\/28\/a-days-work\/","title":{"rendered":"A day’s work"},"content":{"rendered":"

Been working quite busily today. \u00a0Here’s my list:<\/p>\n

    \n
  1. Noticed, verified, and reported a bug in cgdb under OS X 10.8\/Xcode 4.4. \u00a0(I’m the proud owner of the very first bug report on its new GitHub page). \u00a0(cgdb is a text-console-based debugger, and is how I usually prefer to debug my programs)<\/li>\n
  2. Further work on SDL to support retina displays. \u00a0Included some discussions on mailing lists and development forums. \u00a0I’ve got it almost fully working. \u00a0(The bit still broken involves being on a retina-capable machine with a non-retina-capable program, SDL reports some illegal screen resolutions as being available. \u00a0Still working on finding a workaround for that)<\/li>\n
  3. Noticed that there are issues in the current trunk version of the VectorStorm Testbed repository<\/a> on GitHub, of the “doesn’t even build via Xcode” variety, so I spent some time ironing all of that out, and updating it to use the latest revision of the VectorStorm library.<\/li>\n
  4. Noticed that since adding support for arbitrary render targets, changing resolution doesn’t work any more; \u00a0it leads to a crash. \u00a0I’ve fixed the crash, but that now causes rendering to stop after the resolution change. \u00a0Based upon the behaviour that I’ve seen, I suspect that it’s probably trying to render to the old (pre-resolution-change) offscreen textures, but I haven’t yet actually tracked down why it would be doing that. \u00a0So my hunch may be completely wrong.<\/li>\n
  5. Noticed that for some reason, SDL_image is failing to load a particular png file from the “CameraTest” sample. \u00a0Opening and exporting that png file again seems to have sorted out the problem. \u00a0No clue what the real issue was.<\/li>\n
  6. Noticed that the VectorPhysics sample game in the Testbeds suite is broken again. \u00a0Completely broken. \u00a0HUD not visible, interface doesn’t work, and Box2D appearing to cause odd crashes. \u00a0Not sure whether to bother dealing with that right now; \u00a0I don’t really need Box2D for anything at the moment, so maybe I’ll just ignore the problem and hope it goes away, and get back to MT2 development sooner.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"

    Been working quite busily today. \u00a0Here’s my list: Noticed, verified, and reported a bug in cgdb under OS X 10.8\/Xcode 4.4. \u00a0(I’m the proud owner of the very first bug report on its new GitHub page). \u00a0(cgdb is a text-console-based debugger, and is how I usually prefer to debug my programs) Further work on SDL…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[4,7,3],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/po9WK-FZ","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2603"}],"collection":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/comments?post=2603"}],"version-history":[{"count":0,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2603\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=2603"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=2603"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=2603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}