summaryrefslogtreecommitdiff
path: root/src/core/frontend/framebuffer_layout.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2019-05-29 01:53:30 -0400
committerGravatar Lioncash2019-06-03 15:31:52 -0400
commitcfb59aad3ff5ab782a0c4212c3085094e15d7ede (patch)
treea92b3425661a9e54f638f8f672f1da19ce41c0f7 /src/core/frontend/framebuffer_layout.cpp
parentyuzu/bootmanager: Remove unnecessary pointer casts (diff)
downloadyuzu-cfb59aad3ff5ab782a0c4212c3085094e15d7ede.tar.gz
yuzu-cfb59aad3ff5ab782a0c4212c3085094e15d7ede.tar.xz
yuzu-cfb59aad3ff5ab782a0c4212c3085094e15d7ede.zip
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