summaryrefslogtreecommitdiff
path: root/src/video_core
diff options
context:
space:
mode:
authorZephyron <zephyron@citron-emu.org>2025-01-08 21:16:04 +1000
committerZephyron <zephyron@citron-emu.org>2025-01-08 21:16:04 +1000
commit3f151c51114fd1e9c9ab0f379e0ff3045c400b75 (patch)
tree6fad5f034e3bc6b9f12c1452129ccc5516da02cc /src/video_core
parentc65c8ac45e1e795549942cde6d455a0437635f31 (diff)
nvdrv: Add MSVC compatibility for packed structs
Add conditional compilation directives to handle packed struct definitions differently between MSVC and other compilers. MSVC uses #pragma pack while GCC/Clang use __attribute__((packed)). This change affects: - ZBCColorEntry - ZBCDepthEntry - IoctlZbcSetTable The functionality remains the same, but ensures proper struct packing across different compiler environments.
Diffstat (limited to 'src/video_core')
0 files changed, 0 insertions, 0 deletions