diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-05-29 01:53:30 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-06-03 15:31:52 -0400 |
| commit | 8d120b9121133e4d5dc1efde243732c010b3a338 (patch) | |
| tree | a92b3425661a9e54f638f8f672f1da19ce41c0f7 /src/core/frontend/framebuffer_layout.cpp | |
| parent | 531072e387b7aa74202fb21f016bf59b6b79d3af (diff) | |
yuzu/bootmanager: Remove pointer downcast in GRenderWindow's constructor
We can just pass a pointer to GMainWindow directly and make it a
requirement of the interface. This makes the interface a little safer,
since this would technically otherwise allow any random QWidget to be
the parent of a render window, downcasting it to GMainWindow (which is
undefined behavior).
Diffstat (limited to 'src/core/frontend/framebuffer_layout.cpp')
0 files changed, 0 insertions, 0 deletions
