[racket] bitmap% and OpenGL. Maybe bug?

From: Ivanyi Peter (pivanyi at freemail.hu)
Date: Thu Sep 22 21:04:48 EDT 2011

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110923/50d19681/attachment.html>

Posted on the users mailing list.