mirror of
https://github.com/whoahq/whoa.git
synced 2026-03-18 05:31:07 +03:00
feat(gx): add missing initializers to CGxDevice
This commit is contained in:
parent
619bcca778
commit
a51e9ba082
@ -108,12 +108,12 @@ class CGxDevice {
|
||||
uint32_t m_appMasterEnables = 0;
|
||||
uint32_t m_hwMasterEnables = 0;
|
||||
TSList<CGxPool, TSGetLink<CGxPool>> m_poolList;
|
||||
CGxBuf* m_bufLocked[GxPoolTargets_Last];
|
||||
CGxBuf* m_bufLocked[GxPoolTargets_Last] = {};
|
||||
CGxPool* m_vertexPool = nullptr;
|
||||
CGxPool* m_indexPool = nullptr;
|
||||
CGxBuf* m_streamBufs[GxPoolTargets_Last];
|
||||
CGxBuf* m_streamBufs[GxPoolTargets_Last] = {};
|
||||
CGxVertexAttrib m_primVertexFormatAttrib[GxVertexBufferFormats_Last];
|
||||
CGxBuf* m_primVertexFormatBuf[GxVertexBufferFormats_Last];
|
||||
CGxBuf* m_primVertexFormatBuf[GxVertexBufferFormats_Last] = {};
|
||||
uint32_t m_primVertexMask = 0;
|
||||
uint32_t m_primVertexDirty = 0;
|
||||
EGxVertexBufferFormat m_primVertexFormat = GxVertexBufferFormats_Last;
|
||||
@ -124,7 +124,7 @@ class CGxDevice {
|
||||
TSFixedArray<CGxAppRenderState> m_appRenderStates;
|
||||
TSFixedArray<CGxStateBom> m_hwRenderStates;
|
||||
// TODO
|
||||
TextureTarget m_textureTarget[GxBuffers_Last];
|
||||
TextureTarget m_textureTarget[GxBuffers_Last] = {};
|
||||
// TODO
|
||||
uint32_t m_baseMipLevel = 0; // TODO placeholder
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user