This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch devs/devilhorns/apos
in repository efl.

View the commit online.

commit c7a8101626142134b2d807cde7daadafe4289765
Author: Christopher Michael <devilho...@comcast.net>
AuthorDate: Sat Aug 23 09:51:57 2025 -0500

    ecore_drm2: Modify ecore_drm2_fb_stride get to account for both dump
    buffers and gbm bo's
---
 src/lib/ecore_drm2/ecore_drm2_fb.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/lib/ecore_drm2/ecore_drm2_fb.c b/src/lib/ecore_drm2/ecore_drm2_fb.c
index 16df8ccd10..55c23fda7d 100644
--- a/src/lib/ecore_drm2/ecore_drm2_fb.c
+++ b/src/lib/ecore_drm2/ecore_drm2_fb.c
@@ -184,7 +184,10 @@ EAPI unsigned int
 ecore_drm2_fb_stride_get(Ecore_Drm2_Fb *fb)
 {
    EINA_SAFETY_ON_NULL_RETURN_VAL(fb, 0);
-   return fb->strides[0];
+   if (fb->strides[0] > 0)
+     return fb->strides[0];
+   else
+     return (fb->bpp * fb->w);
 }
 
 EAPI Eina_Bool

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to