mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-24 16:48:18 -05:00
Cleanup.
This commit is contained in:
parent
46b1b1b885
commit
fd14e72014
5 changed files with 2 additions and 5 deletions
|
@ -3869,7 +3869,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
|||
uint16_t shaderSize;
|
||||
bx::read(&reader, shaderSize);
|
||||
|
||||
const DWORD* code = (const DWORD*)reader.getDataPtr();
|
||||
const void* code = reader.getDataPtr();
|
||||
bx::skip(&reader, shaderSize+1);
|
||||
|
||||
if (BGFX_CHUNK_MAGIC_FSH == magic)
|
||||
|
|
|
@ -120,7 +120,6 @@ namespace bgfx { namespace d3d11
|
|||
}
|
||||
|
||||
void create(const Memory* _mem);
|
||||
DWORD* getShaderCode(uint8_t _fragmentBit, const Memory* _mem);
|
||||
|
||||
void destroy()
|
||||
{
|
||||
|
|
|
@ -3722,7 +3722,7 @@ data.NumQualityLevels = 0;
|
|||
uint16_t shaderSize;
|
||||
bx::read(&reader, shaderSize);
|
||||
|
||||
const DWORD* code = (const DWORD*)reader.getDataPtr();
|
||||
const void* code = reader.getDataPtr();
|
||||
bx::skip(&reader, shaderSize+1);
|
||||
|
||||
m_code = copy(code, shaderSize);
|
||||
|
|
|
@ -183,7 +183,6 @@ namespace bgfx { namespace d3d12
|
|||
}
|
||||
|
||||
void create(const Memory* _mem);
|
||||
DWORD* getShaderCode(uint8_t _fragmentBit, const Memory* _mem);
|
||||
|
||||
void destroy()
|
||||
{
|
||||
|
|
|
@ -236,7 +236,6 @@ namespace bgfx { namespace d3d9
|
|||
}
|
||||
|
||||
void create(const Memory* _mem);
|
||||
DWORD* getShaderCode(uint8_t _fragmentBit, const Memory* _mem);
|
||||
|
||||
void destroy()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue