framebuffer alignment

This commit is contained in:
Bigfoot71 2025-10-28 01:33:41 +01:00
parent 7cf53cc615
commit 50a22daf86

1
src/external/rlsw.h vendored
View File

@ -813,6 +813,7 @@ typedef struct {
} sw_texture_t; } sw_texture_t;
typedef struct { typedef struct {
alignas(SW_COLOR_PIXEL_SIZE)
SW_COLOR_TYPE color[SW_COLOR_PACK_COMP]; SW_COLOR_TYPE color[SW_COLOR_PACK_COMP];
SW_DEPTH_TYPE depth[SW_DEPTH_PACK_COMP]; SW_DEPTH_TYPE depth[SW_DEPTH_PACK_COMP];
} sw_pixel_t; } sw_pixel_t;