Skip to content

Bugfix for odd linenumber height(segment) #1

@Carandiru0

Description

@Carandiru0

if (thread_index + 1 == RBF_MAX_THREADS)
height_segment = height - thread_index * height_segment;

should be changed to:

if (thread_index + 1 == RBF_MAX_THREADS)
height_segment = height - thread_index * height_segment - 1;

Please note that I removed the variable for number of threads in the class for my implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions