Skip to content

Description of flags in COLOR_TAB wrong? #25

@th-otto

Description

@th-otto

In

gemlib/mt_gemx.h

Line 1798 in d335b79

long flags; /**< VDI-internal flags, set to 0 */
it is said that flags is used only internally by (N)VDI, and should be set to zero. Same comment is also copied verbatim to tos.hyp. However in some of examples of NVDI5 (ie. in the docs/bin/picshow folder), you can see that the app sets it to CSPACE_3COMPONENTS, the number of components that are valid in the created color table. The more advanced SHOWME.APP from the NVDITOOL.S does the same.

Should that comment maybe be fixed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions