Here is some more information about how I get the OpenGL context.

First, I make a bitmap using `make-gl-bitmap`. Then, I make a bitmap-dc% 
object that contains my glbitmap and get its gl-context% object using 
`get-gl-context`.

On Thursday, August 1, 2019 at 9:36:07 AM UTC-4, Kshitij Sachan wrote:
>
> I've set up an OpenGL context that is displayed in a snip (I chose a snip 
> because I want to be able to move the camera around and generally respond 
> to user input). However, I've noticed that the OpenGL context in Racket 
> looks considerably worse than when I run the same OpenGL code in C++ (the 
> racket code is actually calling a C library function using the FFI).
>
> I believe this is because the Racket snip isn't able to take advantage of 
> the Retina display on my Mac. Is this the correct reason, and if so, is 
> there any way to fix this and make the quality better?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/df6b6b3a-7b3a-49d3-a7ed-188ef7febb27%40googlegroups.com.

Reply via email to