I've never used this before so I may be completely wrong, but you can 
supply gl-config% to the make-gl-bitmap and there is a method on it 

(send 
<https://docs.racket-lang.org/reference/ivaraccess.html#%28form._%28%28lib._racket%2Fprivate%2Fclass-internal..rkt%29._send%29%29>
 a-gl-config set-hires-mode 
<https://docs.racket-lang.org/draw/gl-config_.html#%28meth._%28%28%28lib._racket%2Fdraw..rkt%29._gl-config~25%29._set-hires-mode%29%29>
 hires-mode)

That may be what you need.

On Thursday, 1 August 2019 14:36:07 UTC+1, 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/bdd9bd94-c517-4945-8b1b-c3b0ceea7e3e%40googlegroups.com.

Reply via email to