mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:57:44 +00:00
LibGL: Return white texel when sampling uninitialized texture
This commit is contained in:
parent
894d81c1b8
commit
59998ff0b2
2 changed files with 5 additions and 2 deletions
|
@ -42,8 +42,8 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
GLsizei m_width;
|
||||
GLsizei m_height;
|
||||
GLsizei m_width { 0 };
|
||||
GLsizei m_height { 0 };
|
||||
Vector<u32> m_pixel_data;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue