mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 21:58:48 +00:00
GLInterfaceBase: In-class initialize protected members
Gives the class a well-defined initial state
This commit is contained in:
parent
11a7defdba
commit
df9c9ad706
1 changed files with 3 additions and 3 deletions
|
@ -20,10 +20,10 @@ class cInterfaceBase
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
// Window dimensions.
|
// Window dimensions.
|
||||||
u32 s_backbuffer_width;
|
u32 s_backbuffer_width = 0;
|
||||||
u32 s_backbuffer_height;
|
u32 s_backbuffer_height = 0;
|
||||||
|
|
||||||
u32 s_opengl_mode;
|
u32 s_opengl_mode = GLInterfaceMode::MODE_DETECT;
|
||||||
public:
|
public:
|
||||||
virtual ~cInterfaceBase() {}
|
virtual ~cInterfaceBase() {}
|
||||||
virtual void Swap() {}
|
virtual void Swap() {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue