diff options
| author | Lioncash <mathew1800@gmail.com> | 2020-08-05 14:08:26 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2020-08-05 14:08:28 -0400 |
| commit | 43ef4a7305c77c79b4194321c8c70dbb7c11b060 (patch) | |
| tree | 707a3dfb4ed17b20f297ada3767f86e1b6fba319 /src/video_core/texture_cache/surface_params.cpp | |
| parent | ccd9337ec77cbacd97df739acdb193d55632b568 (diff) | |
ipc_helpers: Only allow trivially copyable objects with PushRaw() and PopRaw()
It's undefined behavior to use non-trivially copyable objects with
std::memcpy, so we can add asserts to catch usages of these at
compile-time.
Diffstat (limited to 'src/video_core/texture_cache/surface_params.cpp')
0 files changed, 0 insertions, 0 deletions
