On Sunday, 23 July 2023 at 17:02:40 UTC, Ferhat Kurtulmuş wrote:
On Sunday, 23 July 2023 at 16:21:05 UTC, Ruby The Roobster
wrote:
I'm currently trying to load two textures and apply them to a
rectangle, following
[this](https://learnopengl.com/Getting-started/Textures) which
is linked to from the README file of the bindbc OpenGL
bindings.
[...]
DCV uses gamut for image input, and opengl for displaying
stuff. You can take a look at the sources:
https://github.com/libmir/dcv/blob/master/source/dcv/imageio/image.d#L399
https://github.com/libmir/dcv/blob/master/source/dcv/plot/drawprimitives.d#L126
Thank you. I'm still trying to work out how it works. It seems
as if the creator tried the same thing that I did, and then
commented it out. Perhaps for the same reason?