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

Close #10, #6, #5 #11

Merged
merged 1 commit into from
Jul 2, 2019
Merged

Close #10, #6, #5 #11

merged 1 commit into from
Jul 2, 2019

Conversation

oAGoulart
Copy link
Owner

Fix segmantation fault on Linux
Fix rect drawing function
Add 8-bit color support for put_pixel
Add clear_screen function

Fix segmantation fault on Linux
Fix rect drawing function
Add 8-bit color support for put_pixel
Add clear_screen function
@oAGoulart oAGoulart added bug Something isn't working enhancement New feature or request labels Jul 2, 2019
@oAGoulart oAGoulart self-assigned this Jul 2, 2019
@todo
Copy link

todo bot commented Jul 2, 2019

change to a better approche than SetPixel (this is painful slow) */

ascii-art/src/harvest.c

Lines 230 to 235 in baa09fb

/* TODO: change to a better approche than SetPixel (this is painful slow) */
SetPixel(fb->device, position.x, position.y, RGB(color, color, color));
#else
void* address = fb->address + (position.y * fb->fix_info.line_length) + (position.x * 4 + 4);
if ((ulong_t)address <= (ulong_t)(fb->address + fb->size))


This comment was generated by todo based on a TODO comment in baa09fb in #11. cc @oAGoulart.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant