rsx: Fix initialization of null cubemap resources

This commit is contained in:
kd-11 2022-09-19 14:16:02 +03:00 committed by kd-11
parent 79f2c21dfb
commit 3dc7b64fa1
2 changed files with 2 additions and 2 deletions

View file

@ -180,7 +180,7 @@ void GLGSRender::on_init_thread()
// Fallback null texture instead of relying on texture0
{
std::vector<u32> pixeldata = { 0, 0, 0, 0 };
std::array<u32, 8> pixeldata = { 0, 0, 0, 0, 0, 0, 0, 0 };
// 1D
auto tex1D = std::make_unique<gl::texture>(GL_TEXTURE_1D, 1, 1, 1, 1, GL_RGBA8);