Re: [MacRuby-devel] OpenGL Bus Error

2009-05-05 Thread Timothy McDowell
Yeah, I don't know what I was thinking. Your Ruby Rocker GL example on your site is very helpful to me! But one problem: The key input doesn't work on the GL version, or the NSViews/CoreAnimation version. On Mon, May 4, 2009 at 11:40 PM, John Shea wrote: > Hi Timothy, > > maybe you have figured

Re: [MacRuby-devel] OpenGL Bus Error

2009-05-04 Thread John Shea
Hi Timothy, maybe you have figured it all out by now - but when doing openGL stuff it is usually in the context (literally and metaphorically) of an NSOpenGLView, you also have to overwrite the initWithFrame method and a few other methods in this class. Within the init method you set up t

[MacRuby-devel] OpenGL Bus Error

2009-05-04 Thread Timothy McDowell
I was using the 'macirb' and this is what I got: I had entered this: dawnmcds-powerbook-g4-12:~ Tim$ macirb irb(main):001:0> framework 'cocoa' => true irb(main):002:0> framework 'opengl' => true irb(main):003:0> a = NSSize.new => # irb(main):004:0> a => # irb(main):005:0> a.width => 0.0 irb(main):0