2740: Initialize variables from base class for the gl 3.3 class r=Learath2 a=Jupeyy



Co-authored-by: Jupeyy <jupjopjap@gmail.com>
This commit is contained in:
bors[bot] 2020-09-04 16:17:12 +00:00 committed by GitHub
commit 0e8ebe25b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2030,6 +2030,14 @@ void CCommandProcessorFragment_OpenGL3_3::Cmd_Init(const SCommand_Init *pCommand
glActiveTexture(GL_TEXTURE0);
}
m_Has2DArrayTextures = true;
m_Has2DArrayTexturesAsExtension = false;
m_2DArrayTarget = GL_TEXTURE_2D_ARRAY;
m_Has3DTextures = false;
m_HasMipMaps = true;
m_HasNPOTTextures = true;
m_HasShaders = true;
m_pTextureMemoryUsage = pCommand->m_pTextureMemoryUsage;
m_pTextureMemoryUsage->store(0, std::memory_order_relaxed);
m_LastBlendMode = CCommandBuffer::BLEND_ALPHA;