This commit is contained in:
Branimir Karadžić 2016-02-27 17:23:47 -08:00
parent 46b1b1b885
commit fd14e72014
5 changed files with 2 additions and 5 deletions

View file

@ -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)

View file

@ -120,7 +120,6 @@ namespace bgfx { namespace d3d11
}
void create(const Memory* _mem);
DWORD* getShaderCode(uint8_t _fragmentBit, const Memory* _mem);
void destroy()
{

View file

@ -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);

View file

@ -183,7 +183,6 @@ namespace bgfx { namespace d3d12
}
void create(const Memory* _mem);
DWORD* getShaderCode(uint8_t _fragmentBit, const Memory* _mem);
void destroy()
{

View file

@ -236,7 +236,6 @@ namespace bgfx { namespace d3d9
}
void create(const Memory* _mem);
DWORD* getShaderCode(uint8_t _fragmentBit, const Memory* _mem);
void destroy()
{