-
Notifications
You must be signed in to change notification settings - Fork 32
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
fbpdf: fbval_t doesn't match fb #11
Comments
pcouderc12 ***@***.***> wrote:
Please explain this error and how to work around it. Thank you.
Please use the current version of fbpad: fbval_t is removed and
you no longer need to worry about it. Before that, you needed to
change the type of fbval_t to match the depth of your framebuffer
device. For instance, if you had a 16-bit frambuffer, the type
of fbval_t must have been unsigned short.
Ali
|
Mmm, I do not understand well : should I remove the fb_mode() test ? Currently, if I copy the last version of draw.* from fbpad to fbpdf and I get the same error... |
pcouderc12 ***@***.***> wrote:
Mmm, I do not understand well : should I remove the fb_mode() test ?
Currently, if I copy the last version of draw.* from fbpad to fbpdf
and I get the same error...
Sorry. I thought the issue was about fbpad. In fbpdf you still
need to modify fbval_t based on framebuffer depth. It is defined
in doc.h:
typedef unsigned int fbval_t;
If you are using a 16-bit framebuffer, change int to short,
and if you are using an 8-bit framebuffer, change it to char.
Ali
|
OK, thank you very much |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please explain this error and how to work around it. Thank you.
(It is on a raspberry pi zero)
The text was updated successfully, but these errors were encountered: