mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
rsx: Fix initialization of null cubemap resources
This commit is contained in:
parent
79f2c21dfb
commit
3dc7b64fa1
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue