Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions common/src/gx_canvas_pixel_draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ GX_DRAW_CONTEXT *context;
GX_DISPLAY *display;
GX_VIEW *view;
GX_COLOR pixcolor;
#if defined(GX_BRUSH_ALPHA_SUPPORT)
GX_UBYTE brush_alpha;
#endif

/* pick up the current drawing context */
context = _gx_system_current_draw_context;
Expand All @@ -92,7 +94,9 @@ GX_UBYTE brush_alpha;
/* pick up current display driver */
display = context -> gx_draw_context_display;

#if defined(GX_BRUSH_ALPHA_SUPPORT)
brush_alpha = context -> gx_draw_context_brush.gx_brush_alpha;
#endif

/* pick up the pixel color */
pixcolor = context -> gx_draw_context_brush.gx_brush_line_color;
Expand Down