Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Description of flags in COLOR_TAB wrong? #25

Open
th-otto opened this issue Nov 3, 2024 · 0 comments
Open

Description of flags in COLOR_TAB wrong? #25

th-otto opened this issue Nov 3, 2024 · 0 comments

Comments

@th-otto
Copy link
Contributor

th-otto commented Nov 3, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant