mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-29 22:20:48 +00:00
gl: Fix image creation for virtual formats
This commit is contained in:
parent
599f1dd157
commit
ebad08aa97
@ -64,7 +64,7 @@ namespace gl
|
|||||||
m_mipmaps = mipmaps;
|
m_mipmaps = mipmaps;
|
||||||
m_aspect_flags = image_aspect::color;
|
m_aspect_flags = image_aspect::color;
|
||||||
|
|
||||||
switch (sized_format)
|
switch (storage_fmt)
|
||||||
{
|
{
|
||||||
case GL_DEPTH_COMPONENT16:
|
case GL_DEPTH_COMPONENT16:
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user