Skip to content

scenes/opengl: Use GL_CLAMP_TO_EDGE wrap mode with sw cursor

Vlad Zahorodnii requested to merge work/scene-opengl-software-cursor into master

We use the GL_LINEAR magnification filter. This means that GL_REPEAT wrap mode cannot be used for the software cursor because sampling texels beyond the right texture edge is the same as sampling texels on the left edge. This may produce undesired visual artifacts.

Merge request reports