gl: Fix image views broken after refactor

This commit is contained in:
kd-11 2022-06-19 15:11:00 +03:00 committed by kd-11
parent 0894d2886a
commit 98b6783c05

View File

@ -224,7 +224,7 @@ namespace gl
} }
} }
void texture_view::create(texture* data, GLenum target, GLuint min_level, GLuint num_levels, GLenum sized_format, GLenum aspect_flags, const GLenum* argb_swizzle) void texture_view::create(texture* data, GLenum target, GLenum sized_format, GLuint min_level, GLuint num_levels, GLenum aspect_flags, const GLenum* argb_swizzle)
{ {
m_target = target; m_target = target;
m_format = sizedfmt_to_ifmt(sized_format); m_format = sizedfmt_to_ifmt(sized_format);