Re: SDL Inteface for POGL and macro refactor

2011-10-04 Thread My
Basically I would like to do my $tex = SDLx::POGL::Tex->new( w => 20, h => 10 ); $tex->attach( mesh => $mesh, u => 1, v => 1, n => -1 ); #SDLx::POGL::Tex isa SDLx::Surface too $tex->draw_circle( ...) $tex->update() # rendered in opengl on the fly now. Kartik Thakore On 2011-10-04, at 1

Re: SDL Inteface for POGL and macro refactor

2011-10-01 Thread chm
On 10/1/2011 4:04 PM, Kartik Thakore wrote: Hey Chris, How do I make SDL an interface for POGL? https://github.com/PerlGameDev/POGL/commit/4ed41515474f67cb2af553be9cf0132741594a40 I want to turn off GLUT and all that when SDL is chosen. The easiest way it to just ignore the glut stuf

SDL Inteface for POGL and macro refactor

2011-10-01 Thread Kartik Thakore
Hey Chris, How do I make SDL an interface for POGL? https://github.com/PerlGameDev/POGL/commit/4ed41515474f67cb2af553be9cf0132741594a40 I want to turn off GLUT and all that when SDL is chosen. Also in the TODO I noticed you wanted: > https://github.com/PerlGameDev/POGL/blob/SDL_interf