Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ef62d33

Browse files
committed
Fix undefined reference
1 parent 729c0e6 commit ef62d33

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

interface/khronos/common/linux/khrn_client_platform_linux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ static void set_egl_image_color_data(EGLImageKHR egl_image, KHRN_IMAGE_WRAP_T *i
625625
int offset = 0;
626626
int height = image->height;
627627

628-
if (khrn_image_is_tformat(image->format))
628+
if (khrn_image_is_brcm1(image->format))
629629
lines &= ~63;
630630

631631
assert(lines > 0);

interface/khronos/egl/egl_client.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1702,7 +1702,7 @@ static void set_color_data(EGL_SURFACE_ID_T surface_id, KHRN_IMAGE_WRAP_T *image
17021702
int offset = 0;
17031703
int height = image->height;
17041704

1705-
if (khrn_image_is_tformat(image->format))
1705+
if (khrn_image_is_brcm1(image->format))
17061706
lines &= ~63;
17071707

17081708
vcos_assert(lines > 0);
@@ -1782,7 +1782,7 @@ static void get_color_data(EGL_SURFACE_ID_T surface_id, KHRN_IMAGE_WRAP_T *image
17821782
int offset = 0;
17831783
int height = image->height;
17841784

1785-
if (khrn_image_is_tformat(image->format))
1785+
if (khrn_image_is_brcm1(image->format))
17861786
lines &= ~63;
17871787

17881788
vcos_assert(lines > 0);

0 commit comments

Comments
 (0)