mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-12 14:48:49 +00:00
video_code: support rectangle texture
This commit is contained in:
@@ -86,6 +86,7 @@ std::string_view SamplerType(TextureType type, bool is_depth) {
|
||||
case TextureType::ColorArray1D:
|
||||
return "sampler1DArray";
|
||||
case TextureType::Color2D:
|
||||
case TextureType::Color2DRect:
|
||||
return "sampler2D";
|
||||
case TextureType::ColorArray2D:
|
||||
return "sampler2DArray";
|
||||
|
||||
Reference in New Issue
Block a user