Skip to content

Commit

Permalink
drivers/glrend: fix BR_PMT_BGR_555 format
Browse files Browse the repository at this point in the history
  • Loading branch information
vs49688 committed Aug 21, 2024
1 parent cd816bb commit 66f8057
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/glrend/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ br_error VIDEOI_BrPixelmapGetTypeDetails(br_uint_8 pmType, GLint *internalFormat
break;
case BR_PMT_BGR_555:
*internalFormat = GL_RGB;
*format = GL_BGR;
*type = GL_UNSIGNED_SHORT_5_5_5_1;
*format = GL_RGBA;
*type = GL_UNSIGNED_SHORT_1_5_5_5_REV;
*elemBytes = 2;
break;
case BR_PMT_RGBA_4444:
Expand Down

0 comments on commit 66f8057

Please sign in to comment.