mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
skip flipping of 3D textures which is unsupported in OSG
This commit is contained in:
parent
0cb63ca4e6
commit
ac6089a430
3 changed files with 6 additions and 4 deletions
|
@ -470,7 +470,7 @@ namespace fx
|
|||
else if (key == "source")
|
||||
{
|
||||
expect<Lexer::String>();
|
||||
auto image = mImageManager.getImage(std::string{std::get<Lexer::String>(mToken).value});
|
||||
auto image = mImageManager.getImage(std::string{std::get<Lexer::String>(mToken).value}, is3D);
|
||||
if constexpr (is1D)
|
||||
{
|
||||
type = Types::SamplerType::Texture_1D;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue