[racket] bitmap% and OpenGL. Maybe bug?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Sep 23 02:25:03 EDT 2011

I have no guesses, but that does sound like a bug. You might try
looking at


especially `create-gl-context'. Maybe some specific step is going
wrong in that function.

At Fri, 23 Sep 2011 03:04:48 +0200 (CEST), Ivanyi Peter wrote:
> Hi, According to the documentation that seems to be the solution, but: 
> (require (lib "class.ss") (lib "mred.ss" "mred") )(define config (new 
> gl-config%))(define bitmap (make-gl-bitmap 100 100 config))(define dc (new 
> bitmap-dc% (bitmap bitmap)))(send dc get-gl-context) still returns #f.Maybe 
> there is something here which I do not understand. Thanks for any help. Peter 
> Ivanyi
> Stephan Houben <stephanh at planet.nl> írta:
> >Hi Peter,
> >
> >You are supposed to use make-gl-bitmap to get
> >a bitmap for which a gl context can be created.
> >
> >Otherwise you may or may not get GL ability in your bitmap.
> _________________________________________________
>   For list-related administrative tasks:
>   http://lists.racket-lang.org/listinfo/users

Posted on the users mailing list.