On Wed, 01 Jul 2009 13:29:14 -0700, Žiga Lenarčič  
<[email protected]> wrote:

> Also another question: is it possible to use a lispbuilder-sdl
> surface as a texture in cl-opengl? I'd like to use opengl with ttf
> fonts.

Yes, this is possible. To test OpenGL textures in lispbuilder-openrm I set  
the SDL display surface, sdl:*default-display*, as a shared OpenGL  
texture. All blits to sdl:*default-display* appear in the OpenGL texture.  
Works well as a quick OpenGL back-end for SDL.

> Also - how should window resizes be handeled on mac os x? I recieve a
> resize message, but I don't want to call
> (sdl:window ..) upon resize (in cocoa helper it creates another
> window entry), only resize it? Any way to just delete the surface and
> attach a new (correctly sized) one to the window?

Please use;

RESIZE-WINDOW

The only required parameters are the width/height. If the other keywords  
are unspecified then the values from the current window are used.

- Luke
_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to