mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-12-29 11:01:23 +00:00
gs-mipmapper: Textures with no mip level do not exist
This commit is contained in:
parent
f78be9c387
commit
6e03f2334d
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ void gs::mipmapper::rebuild(std::shared_ptr<gs::texture> source, std::shared_ptr
|
|||
target_t2->GetDesc(&target_t2desc);
|
||||
|
||||
// If we do not have any miplevels, just stop now.
|
||||
if (target_t2desc.MipLevels == 0) {
|
||||
if (target_t2desc.MipLevels == 1) {
|
||||
obs_leave_graphics();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue