veeenu / hudhook

A videogame overlay framework written in Rust, supporting DirectX and OpenGL
MIT License
185 stars 27 forks source link

Align upload_pitch #174

Closed misdake closed 6 months ago

misdake commented 6 months ago

Align row pitch to 256 bytes. Copy each row individually if row pitch != row width, otherwise copy the entire buffer. Fixes #173.