mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge #3161
3161: Fix texture create with multi units r=def- a=Jupeyy ~Possibly `fixes` #3104~ Ravie can you test? Does not fix the issue. [only affects gl 3.3] Still is required, bcs that looks wrong Co-authored-by: Jupeyy <jupjopjap@gmail.com>
This commit is contained in:
commit
bc5b19b644
|
@ -2805,6 +2805,8 @@ void CCommandProcessorFragment_OpenGL3_3::Cmd_Texture_Create(const CCommandBuffe
|
|||
//just tell, that we using this texture now
|
||||
IsAndUpdateTextureSlotBound(Slot, pCommand->m_Slot);
|
||||
glActiveTexture(GL_TEXTURE0 + Slot);
|
||||
m_TextureSlotBoundToUnit[Slot].m_TextureSlot = -1;
|
||||
m_TextureSlotBoundToUnit[Slot].m_Is2DArray = false;
|
||||
}
|
||||
|
||||
if((pCommand->m_Flags & CCommandBuffer::TEXFLAG_NO_2D_TEXTURE) == 0)
|
||||
|
|
Loading…
Reference in a new issue