Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.

int row_offsets[] = { 0x00, 0x40, 0x14, 0x54 }; #11

Open
simonik opened this issue Mar 22, 2017 · 2 comments
Open

int row_offsets[] = { 0x00, 0x40, 0x14, 0x54 }; #11

simonik opened this issue Mar 22, 2017 · 2 comments

Comments

@simonik
Copy link

simonik commented Mar 22, 2017

I have to change it¨to int row_offsets[] = { 0x00, 0x40, 0x10, 0x50 };

@larryfant
Copy link

I checked that constructor parameter cols is used for nothing. That should be used to calculate row_offsets instead of hard coded values. I'll check forks first has somebody implemented that already.

@kirk-loeten
Copy link

This solution ist flexible:
int row_offsets[] = { 0x00, 0x40, _cols, 0x40 + _cols };

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

No branches or pull requests

3 participants