diff options
Diffstat (limited to 'apps/plugins/test_viewports.c')
-rw-r--r-- | apps/plugins/test_viewports.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/test_viewports.c b/apps/plugins/test_viewports.c index 2bada01f79..76f1a9da9b 100644 --- a/apps/plugins/test_viewports.c +++ b/apps/plugins/test_viewports.c | |||
@@ -130,7 +130,7 @@ static void *test_address_fn(int x, int y) | |||
130 | 130 | ||
131 | struct frame_buffer_t *fb = vp0.buffer; | 131 | struct frame_buffer_t *fb = vp0.buffer; |
132 | /* LCD_STRIDEFORMAT & LCD_NATIVE_STRIDE macros allow Horiz screens to work with RB */ | 132 | /* LCD_STRIDEFORMAT & LCD_NATIVE_STRIDE macros allow Horiz screens to work with RB */ |
133 | #if defined(LCD_STRIDEFORMAT) && LCD_STRIDEFORMAT == VERTICAL_STRIDE | 133 | #if LCD_STRIDEFORMAT == VERTICAL_STRIDE |
134 | size_t element = (x * LCD_NATIVE_STRIDE(fb->stride)) + y; | 134 | size_t element = (x * LCD_NATIVE_STRIDE(fb->stride)) + y; |
135 | #else | 135 | #else |
136 | size_t element = (y * LCD_NATIVE_STRIDE(fb->stride)) + x; | 136 | size_t element = (y * LCD_NATIVE_STRIDE(fb->stride)) + x; |