mirror of
https://github.com/minetest/irrlicht.git
synced 2025-06-28 14:26:06 +02:00
Fix pixel-perfect draw2DLine on OpenGL
This commit is contained in:
@ -923,8 +923,8 @@ namespace video
|
||||
|
||||
//! Draws a 2d line.
|
||||
/** In theory both start and end will be included in coloring.
|
||||
BUG: Currently hardware drivers (d3d/opengl) ignore the last pixel
|
||||
(they use the so called "diamond exit rule" for drawing lines).
|
||||
BUG: Currently d3d ignores the last pixel
|
||||
(it uses the so called "diamond exit rule" for drawing lines).
|
||||
\param start Screen coordinates of the start of the line
|
||||
in pixels.
|
||||
\param end Screen coordinates of the start of the line in
|
||||
|
Reference in New Issue
Block a user