mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Fixed build.
This commit is contained in:
parent
6edba00924
commit
5d540169ac
3 changed files with 8 additions and 1 deletions
|
@ -446,6 +446,9 @@ GL_IMPORT_KHR__(true, PFNGLDEBUGMESSAGEINSERTPROC, glDebugMessag
|
||||||
GL_IMPORT_KHR__(true, PFNGLDEBUGMESSAGECALLBACKPROC, glDebugMessageCallback);
|
GL_IMPORT_KHR__(true, PFNGLDEBUGMESSAGECALLBACKPROC, glDebugMessageCallback);
|
||||||
GL_IMPORT_KHR__(true, PFNGLGETDEBUGMESSAGELOGPROC, glGetDebugMessageLog);
|
GL_IMPORT_KHR__(true, PFNGLGETDEBUGMESSAGELOGPROC, glGetDebugMessageLog);
|
||||||
|
|
||||||
|
GL_IMPORT______(true, PFNGLGETINTERNALFORMATIVPROC, glGetInternalformativ);
|
||||||
|
GL_IMPORT______(true, PFNGLGETINTERNALFORMATI64VPROC, glGetInternalformati64v);
|
||||||
|
|
||||||
# if BGFX_CONFIG_RENDERER_OPENGLES < 30
|
# if BGFX_CONFIG_RENDERER_OPENGLES < 30
|
||||||
GL_IMPORT_OES__(true, PFNGLTEXIMAGE3DPROC, glTexImage3D);
|
GL_IMPORT_OES__(true, PFNGLTEXIMAGE3DPROC, glTexImage3D);
|
||||||
GL_IMPORT_OES__(true, PFNGLTEXSUBIMAGE3DPROC, glTexSubImage3D);
|
GL_IMPORT_OES__(true, PFNGLTEXSUBIMAGE3DPROC, glTexSubImage3D);
|
||||||
|
|
|
@ -1083,7 +1083,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
||||||
if (SUCCEEDED(hr) )
|
if (SUCCEEDED(hr) )
|
||||||
{
|
{
|
||||||
m_infoQueue->SetBreakOnSeverity(D3D11_MESSAGE_SEVERITY_CORRUPTION, true);
|
m_infoQueue->SetBreakOnSeverity(D3D11_MESSAGE_SEVERITY_CORRUPTION, true);
|
||||||
m_infoQueue->SetBreakOnSeverity(D3D11_MESSAGE_SEVERITY_ERROR, true);
|
m_infoQueue->SetBreakOnSeverity(D3D11_MESSAGE_SEVERITY_ERROR, false);
|
||||||
m_infoQueue->SetBreakOnSeverity(D3D11_MESSAGE_SEVERITY_WARNING, false);
|
m_infoQueue->SetBreakOnSeverity(D3D11_MESSAGE_SEVERITY_WARNING, false);
|
||||||
|
|
||||||
D3D11_INFO_QUEUE_FILTER filter;
|
D3D11_INFO_QUEUE_FILTER filter;
|
||||||
|
|
|
@ -757,6 +757,10 @@ typedef uint64_t GLuint64;
|
||||||
# define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
|
# define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
|
||||||
#endif // GL_TEXTURE_CUBE_MAP_SEAMLESS
|
#endif // GL_TEXTURE_CUBE_MAP_SEAMLESS
|
||||||
|
|
||||||
|
#ifndef GL_TEXTURE_2D_MULTISAMPLE
|
||||||
|
# define GL_TEXTURE_2D_MULTISAMPLE 0x9100
|
||||||
|
#endif // GL_TEXTURE_2D_MULTISAMPLE
|
||||||
|
|
||||||
#ifndef GL_DRAW_INDIRECT_BUFFER
|
#ifndef GL_DRAW_INDIRECT_BUFFER
|
||||||
# define GL_DRAW_INDIRECT_BUFFER 0x8F3F
|
# define GL_DRAW_INDIRECT_BUFFER 0x8F3F
|
||||||
#endif // GL_DRAW_INDIRECT_BUFFER
|
#endif // GL_DRAW_INDIRECT_BUFFER
|
||||||
|
|
Loading…
Reference in a new issue